openbsd-ports/print/cups/patches/patch-scheduler_ipp_c

17 lines
562 B
Plaintext
Raw Normal View History

$OpenBSD: patch-scheduler_ipp_c,v 1.7 2011/09/08 10:33:12 ajacoutot Exp $
Increase timeout for the PPD file to be copied so that it doesn't fail
on low-end configurations.
--- scheduler/ipp.c.orig Mon Jun 13 22:45:23 2011
+++ scheduler/ipp.c Fri Sep 2 09:33:11 2011
@@ -5734,7 +5734,7 @@ copy_model(cupsd_client_t *con, /* I - Client connect
FD_SET(temppipe[0], &input);
FD_SET(CGIPipes[0], &input);
- timeout.tv_sec = 30;
+ timeout.tv_sec = 90;
timeout.tv_usec = 0;
if ((i = select(maxfd, &input, NULL, NULL, &timeout)) < 0)