Rediff driverd-timeout patch.

This commit is contained in:
Tim Waugh 2008-07-15 12:41:21 +00:00
parent 86be0359b3
commit 245606c74d

View File

@ -1,6 +1,7 @@
--- cups-1.2.7/scheduler/ipp.c.driverd-timeout 2006-11-22 10:41:28.000000000 +0000
+++ cups-1.2.7/scheduler/ipp.c 2006-11-22 10:45:55.000000000 +0000
@@ -4175,7 +4175,7 @@
diff -up cups-1.3.7/scheduler/ipp.c.driverd-timeout cups-1.3.7/scheduler/ipp.c
--- cups-1.3.7/scheduler/ipp.c.driverd-timeout 2008-07-15 13:40:51.000000000 +0100
+++ cups-1.3.7/scheduler/ipp.c 2008-07-15 13:40:51.000000000 +0100
@@ -4293,7 +4293,7 @@ copy_model(cupsd_client_t *con, /* I -
close(temppipe[1]);
/*
@ -9,12 +10,12 @@
*/
total = 0;
@@ -4196,7 +4196,7 @@
FD_SET(temppipe[0], input);
FD_SET(CGIPipes[0], input);
@@ -4315,7 +4315,7 @@ copy_model(cupsd_client_t *con, /* I -
FD_SET(temppipe[0], &input);
FD_SET(CGIPipes[0], &input);
- timeout.tv_sec = 30;
+ timeout.tv_sec = 70;
timeout.tv_usec = 0;
if ((i = select(maxfd, input, NULL, NULL, &timeout)) < 0)
if ((i = select(maxfd, &input, NULL, NULL, &timeout)) < 0)