• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1diff -up cups-1.7rc1/cgi-bin/admin.c.web-devices-timeout cups-1.7rc1/cgi-bin/admin.c
2--- cups-1.7rc1/cgi-bin/admin.c.web-devices-timeout	2013-05-29 12:51:34.000000000 +0100
3+++ cups-1.7rc1/cgi-bin/admin.c	2013-08-16 16:01:17.308264287 +0100
4@@ -1019,13 +1019,13 @@ do_am_printer(http_t *http,		/* I - HTTP
5     }
6
7    /*
8-    * Scan for devices for up to 30 seconds...
9+    * Scan for devices for up to 10 seconds...
10     */
11
12     fputs("DEBUG: Getting list of devices...\n", stderr);
13
14     current_device = 0;
15-    if (cupsGetDevices(http, 5, CUPS_INCLUDE_ALL, CUPS_EXCLUDE_NONE,
16+    if (cupsGetDevices(http, 10, CUPS_INCLUDE_ALL, CUPS_EXCLUDE_NONE,
17                        (cups_device_cb_t)choose_device_cb,
18 		       (void *)title) == IPP_OK)
19     {
20