diff options
author | Didier Raboud <odyx@debian.org> | 2012-10-25 21:07:57 +0200 |
---|---|---|
committer | Didier Raboud <odyx@debian.org> | 2012-10-25 21:07:57 +0200 |
commit | 81ab83f382660bc7980ae954725c4ebf28764b03 (patch) | |
tree | 523268f698a63a8fd44f3491d94d140266b2403b /backend/usb-libusb.c | |
parent | a75966e33dbc3e3e096338fd332f515cb313b58a (diff) | |
download | cups-upstream/1.6.0.tar.gz |
Imported Upstream version 1.6.0upstream/1.6.0
Diffstat (limited to 'backend/usb-libusb.c')
-rw-r--r-- | backend/usb-libusb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/backend/usb-libusb.c b/backend/usb-libusb.c index b9e40b25..542a07c4 100644 --- a/backend/usb-libusb.c +++ b/backend/usb-libusb.c @@ -1,5 +1,5 @@ /* - * "$Id: usb-libusb.c 10545 2012-07-16 17:16:46Z mike $" + * "$Id: usb-libusb.c 10543 2012-07-16 17:10:55Z mike $" * * LIBUSB interface code for CUPS. * @@ -13,7 +13,7 @@ * * Contents: * - * list_devices() - List the available printers. + * list_devices() - List the available printers. * print_device() - Print a file to a USB device. * close_device() - Close the connection to the USB printer. * find_device() - Find or enumerate USB printers. @@ -1144,7 +1144,7 @@ make_device_uri( if ((sern = cupsGetOption("SERIALNUMBER", num_values, values)) == NULL) if ((sern = cupsGetOption("SERN", num_values, values)) == NULL) if ((sern = cupsGetOption("SN", num_values, values)) == NULL && - ((libusb_get_device_descriptor (printer->device, &devdesc) >= 0) && + ((libusb_get_device_descriptor(printer->device, &devdesc) >= 0) && devdesc.iSerialNumber)) { /* @@ -1881,6 +1881,6 @@ static void soft_reset(void) /* - * End of "$Id: usb-libusb.c 10545 2012-07-16 17:16:46Z mike $". + * End of "$Id: usb-libusb.c 10543 2012-07-16 17:10:55Z mike $". */ |