Skip to content

Commit 14da980

Browse files
committed
Mirror ippfind timeout fix from 2.4.x.
1 parent ac09e19 commit 14da980

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/ippfind.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1122,7 +1122,7 @@ main(int argc, // I - Number of command-line args
11221122
if (getenv("IPPFIND_DEBUG"))
11231123
fprintf(stderr, "STATUS processed=%u, resolved=%u, count=%u\n", (unsigned)processed, (unsigned)resolved, (unsigned)count);
11241124

1125-
if (processed > 0 && (processed == cupsArrayGetCount(services.services) || (cupsGetClock() - last_update) >= 2.5) && bonjour_timeout <= 1.0)
1125+
if (bonjour_timeout <= 1.0 && cupsGetClock() >= 2.5 && (processed == cupsArrayGetCount(services.services) || (cupsGetClock() - last_update) >= 1.0))
11261126
break;
11271127

11281128
// Give the browsers/resolvers some time...

0 commit comments

Comments
 (0)