]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Use a 250ms delay for cupsGetDests - not perfect, but usually gets the full
authorMichael R Sweet <michael.r.sweet@gmail.com>
Tue, 25 Jul 2017 02:43:56 +0000 (22:43 -0400)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Tue, 25 Jul 2017 02:43:56 +0000 (22:43 -0400)
list of local network printers (Issue #5049)

cups/dest.c

index 0fdcc100e6542d7d6200bb89ff765c8533e9baa0..4fa54ddcd3e47f0a32854b47c1b8c4d6017e864d 100644 (file)
@@ -2070,7 +2070,7 @@ cupsGetDests2(http_t      *http,  /* I - Connection to server or @code CUPS_HTTP_
   data.num_dests = 0;
   data.dests     = NULL;
 
-  cupsEnumDests(0, 100, NULL, 0, 0, (cups_dest_cb_t)cups_get_cb, &data);
+  cupsEnumDests(0, 250, NULL, 0, 0, (cups_dest_cb_t)cups_get_cb, &data);
 
  /*
   * Make a copy of the "real" queues for a later sanity check...