diff -urN libusb-0.1.8/darwin.c libusb-0.1.8.darwin/darwin.c --- libusb-0.1.8/darwin.c Tue Jan 27 14:36:31 2004 +++ libusb-0.1.8.darwin/darwin.c Wed Jan 5 19:43:17 2005 @@ -689,7 +689,7 @@ /* there seems to be no way to determine how many bytes are actually written */ #if !defined (LIBUSB_NO_TIMEOUT_INTERFACE) - if ( transferType == kUSBInterrupt ) + if ( transferType != kUSBInterrupt ) /*** DARWIN 0.1.8 FIX ***/ result = (*(device->interface))->WritePipeAsyncTO(device->interface, pipeRef, bytes, size, 0, timeout, write_completed, NULL);