cups-web-devices-timeout.patch 758 B

1234567891011121314151617181920
  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. - * Scan for devices for up to 30 seconds...
  8. + * Scan for devices for up to 10 seconds...
  9. */
  10. fputs("DEBUG: Getting list of devices...\n", stderr);
  11. current_device = 0;
  12. - if (cupsGetDevices(http, 5, CUPS_INCLUDE_ALL, CUPS_EXCLUDE_NONE,
  13. + if (cupsGetDevices(http, 10, CUPS_INCLUDE_ALL, CUPS_EXCLUDE_NONE,
  14. (cups_device_cb_t)choose_device_cb,
  15. (void *)title) == IPP_OK)
  16. {