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.5 2010/11/12 07:09:00 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 Wed Oct 6 22:07:44 2010
+++ scheduler/ipp.c Fri Nov 12 07:31:19 2010
@@ -5235,7 +5235,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)