]> git.pld-linux.org Git - packages/cups.git/blob - cups-web-devices-timeout.patch
- up to 2.2.1; FC patches refresh
[packages/cups.git] / cups-web-devices-timeout.patch
1 diff -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      {
This page took 0.021079 seconds and 3 git commands to generate.