[Pcsclite-cvs-commit] r5011 - /trunk/Drivers/ccid/src/ccid_usb.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Thu Jun 17 12:24:26 UTC 2010
Author: rousseau
Date: Thu Jun 17 12:24:21 2010
New Revision: 5011
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5011
Log:
WriteUSB() & ReadUSB(): the same function libusb_bulk_transfer() is now
ued to read and write to a USB device. So I use "write failed" and "read
failed" instead of the libusb function name to log an error.
Modified:
trunk/Drivers/ccid/src/ccid_usb.c
Modified: trunk/Drivers/ccid/src/ccid_usb.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/ccid_usb.c?rev=5011&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/ccid_usb.c (original)
+++ trunk/Drivers/ccid/src/ccid_usb.c Thu Jun 17 12:24:21 2010
@@ -591,7 +591,7 @@
if (rv < 0)
{
- DEBUG_CRITICAL4("libusb_bulk_write(%d/%d): %s",
+ DEBUG_CRITICAL4("write failed (%d/%d): %s",
usbDevice[reader_index].bus_number,
usbDevice[reader_index].device_address, strerror(errno));
@@ -630,7 +630,7 @@
if (rv < 0)
{
*length = 0;
- DEBUG_CRITICAL4("libusb_bulk_read(%d/%d): %s",
+ DEBUG_CRITICAL4("read failed (%d/%d): %s",
usbDevice[reader_index].bus_number,
usbDevice[reader_index].device_address, strerror(errno));
More information about the Pcsclite-cvs-commit
mailing list