diff options
Diffstat (limited to 'libusb/io.c')
-rw-r--r-- | libusb/io.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libusb/io.c b/libusb/io.c index 984fe31..3e553ef 100644 --- a/libusb/io.c +++ b/libusb/io.c @@ -997,6 +997,7 @@ API_EXPORTED int libusb_submit_transfer(struct libusb_transfer *transfer) int r; itransfer->transferred = 0; + itransfer->flags = 0; r = calculate_timeout(itransfer); if (r < 0) return LIBUSB_ERROR_OTHER; |