diff options
author | Hector Martin | 2009-08-13 00:56:59 +0200 |
---|---|---|
committer | Hector Martin | 2009-08-13 01:29:55 +0200 |
commit | 882543b1e42a960b714fa3aa9b05f9029513b5c1 (patch) | |
tree | 48ed88ceb58b5b3072b17623b7fbe31fbae9fc7b /usbmuxd/usb-linux.c | |
parent | 339112a796f774600a55ab143cad0a6123496606 (diff) | |
download | usbmuxd-882543b1e42a960b714fa3aa9b05f9029513b5c1.tar.gz usbmuxd-882543b1e42a960b714fa3aa9b05f9029513b5c1.tar.bz2 |
Remove obsolete patches, update code and comments for libusb git.
Please use libusb git as of the time of this writing, or 1.0.3 whenever
it comes out.
Diffstat (limited to 'usbmuxd/usb-linux.c')
-rw-r--r-- | usbmuxd/usb-linux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usbmuxd/usb-linux.c b/usbmuxd/usb-linux.c index b401cde..44eba2c 100644 --- a/usbmuxd/usb-linux.c +++ b/usbmuxd/usb-linux.c @@ -138,7 +138,7 @@ int usb_send(struct usb_device *dev, const unsigned char *buf, int length) libusb_free_transfer(xfer); return res; } - collection_add(&dev->tx_xfers, xfer);/* + collection_add(&dev->tx_xfers, xfer); if((length % 512) == 0) { usbmuxd_log(LL_DEBUG, "Send ZLP"); // Send Zero Length Packet @@ -152,7 +152,7 @@ int usb_send(struct usb_device *dev, const unsigned char *buf, int length) return res; } collection_add(&dev->tx_xfers, xfer); - }*/ + } return 0; } |