Blame SOURCES/cups-web-devices-timeout.patch
|
|
1d75c0 |
diff -up cups-1.7rc1/cgi-bin/admin.c.web-devices-timeout cups-1.7rc1/cgi-bin/admin.c
|
|
|
1d75c0 |
--- cups-1.7rc1/cgi-bin/admin.c.web-devices-timeout 2013-05-29 12:51:34.000000000 +0100
|
|
|
1d75c0 |
+++ cups-1.7rc1/cgi-bin/admin.c 2013-08-16 16:01:17.308264287 +0100
|
|
|
1d75c0 |
@@ -1019,13 +1019,13 @@ do_am_printer(http_t *http, /* I - HTTP
|
|
|
1d75c0 |
}
|
|
|
1d75c0 |
|
|
|
1d75c0 |
/*
|
|
|
1d75c0 |
- * Scan for devices for up to 30 seconds...
|
|
|
1d75c0 |
+ * Scan for devices for up to 10 seconds...
|
|
|
1d75c0 |
*/
|
|
|
1d75c0 |
|
|
|
1d75c0 |
fputs("DEBUG: Getting list of devices...\n", stderr);
|
|
|
1d75c0 |
|
|
|
1d75c0 |
current_device = 0;
|
|
|
1d75c0 |
- if (cupsGetDevices(http, 5, CUPS_INCLUDE_ALL, CUPS_EXCLUDE_NONE,
|
|
|
1d75c0 |
+ if (cupsGetDevices(http, 10, CUPS_INCLUDE_ALL, CUPS_EXCLUDE_NONE,
|
|
|
1d75c0 |
(cups_device_cb_t)choose_device_cb,
|
|
|
1d75c0 |
(void *)title) == IPP_OK)
|
|
|
1d75c0 |
{
|