]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - cups/patches/012_cups-driverd-timeout.patch
collecty: New package.
[people/amarx/ipfire-3.x.git] / cups / patches / 012_cups-driverd-timeout.patch
1 diff -up cups-1.5.0/scheduler/ipp.c.driverd-timeout cups-1.5.0/scheduler/ipp.c
2 --- cups-1.5.0/scheduler/ipp.c.driverd-timeout 2011-10-10 17:03:41.801690962 +0100
3 +++ cups-1.5.0/scheduler/ipp.c 2011-10-10 17:03:41.861689834 +0100
4 @@ -5723,7 +5723,7 @@ copy_model(cupsd_client_t *con, /* I -
5 close(temppipe[1]);
6
7 /*
8 - * Wait up to 30 seconds for the PPD file to be copied...
9 + * Wait up to 70 seconds for the PPD file to be copied...
10 */
11
12 total = 0;
13 @@ -5743,7 +5743,7 @@ copy_model(cupsd_client_t *con, /* I -
14 FD_SET(temppipe[0], &input);
15 FD_SET(CGIPipes[0], &input);
16
17 - timeout.tv_sec = 30;
18 + timeout.tv_sec = 70;
19 timeout.tv_usec = 0;
20
21 if ((i = select(maxfd, &input, NULL, NULL, &timeout)) < 0)