diff options
author | Daniel Drake <dsd@gentoo.org> | 2008-08-27 21:23:10 -0500 |
---|---|---|
committer | Daniel Drake <dsd@gentoo.org> | 2008-08-27 21:23:10 -0500 |
commit | 2f8f1b1a900f5b9828e5e2ff93c2b26a44fd9de2 (patch) | |
tree | 57e2c3b155ff54d884be7549e239879a4dfe4043 /libusb | |
parent | 046e681e4ac6b697e40458ee0f5baf3cd8763bb0 (diff) | |
download | libusb-2f8f1b1a900f5b9828e5e2ff93c2b26a44fd9de2.tar.gz |
Doc: fix typo in events lock section
Diffstat (limited to 'libusb')
-rw-r--r-- | libusb/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/io.c b/libusb/io.c index 3e553ef..ab36bf9 100644 --- a/libusb/io.c +++ b/libusb/io.c @@ -718,7 +718,7 @@ void myfunc() { if (poll indicates activity) libusb_handle_events_timeout(ctx, 0); } - libusb_lock_events(ctx); + libusb_unlock_events(ctx); \endcode * ...and the answer is that it is not. This is because the transfer in the * code shown above may take a long time (say 30 seconds) to complete, and |