b14fb4956c
Resolves: rhbz#1026914
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
diff -up cups-1.7.0/backend/usb-libusb.c.usb-timeout cups-1.7.0/backend/usb-libusb.c
|
|
--- cups-1.7.0/backend/usb-libusb.c.usb-timeout 2013-07-17 16:51:43.000000000 +0100
|
|
+++ cups-1.7.0/backend/usb-libusb.c 2013-11-28 16:44:03.785124015 +0000
|
|
@@ -496,7 +496,7 @@ print_device(const char *uri, /* I - De
|
|
iostatus = libusb_bulk_transfer(g.printer->handle,
|
|
g.printer->write_endp,
|
|
print_buffer, g.print_bytes,
|
|
- &bytes, 60000);
|
|
+ &bytes, 72 * 60 * 60000);
|
|
/*
|
|
* Ignore timeout errors, but retain the number of bytes written to
|
|
* avoid sending duplicate data...
|
|
@@ -519,7 +519,7 @@ print_device(const char *uri, /* I - De
|
|
iostatus = libusb_bulk_transfer(g.printer->handle,
|
|
g.printer->write_endp,
|
|
print_buffer, g.print_bytes,
|
|
- &bytes, 60000);
|
|
+ &bytes, 72 * 60 * 60000);
|
|
}
|
|
|
|
/*
|
|
@@ -534,7 +534,7 @@ print_device(const char *uri, /* I - De
|
|
iostatus = libusb_bulk_transfer(g.printer->handle,
|
|
g.printer->write_endp,
|
|
print_buffer, g.print_bytes,
|
|
- &bytes, 60000);
|
|
+ &bytes, 72 * 60 * 60000);
|
|
}
|
|
|
|
if (iostatus)
|