diff options
author | Daniel Drake <dsd@gentoo.org> | 2008-03-30 22:19:00 +0100 |
---|---|---|
committer | Daniel Drake <dsd@gentoo.org> | 2008-03-30 22:19:00 +0100 |
commit | 8d809854e2b19c2b7c27ab05e5d76b34e2a5cead (patch) | |
tree | cbf46b2e17ece2f8eed8a4224663cbd780044947 /libusb/sync.c | |
parent | 211f80c9f2a4a58cd2bbf5b7751f45089c8961e7 (diff) | |
download | libusb-8d809854e2b19c2b7c27ab05e5d76b34e2a5cead.tar.gz |
Rename libusb_poll() to libusb_handle_events()
Diffstat (limited to 'libusb/sync.c')
-rw-r--r-- | libusb/sync.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libusb/sync.c b/libusb/sync.c index c59122e..b2b564d 100644 --- a/libusb/sync.c +++ b/libusb/sync.c @@ -94,7 +94,7 @@ API_EXPORTED int libusb_control_transfer(libusb_device_handle *dev_handle, } while (!completed) { - r = libusb_poll(); + r = libusb_handle_events(); if (r < 0) { libusb_cancel_transfer_sync(transfer); libusb_free_transfer(transfer); @@ -152,7 +152,7 @@ static int do_sync_bulk_transfer(struct libusb_device_handle *dev_handle, } while (!completed) { - r = libusb_poll(); + r = libusb_handle_events(); if (r < 0) { libusb_cancel_transfer_sync(transfer); libusb_free_transfer(transfer); |