From: Daniel Drake Date: Thu, 28 Aug 2008 02:23:10 +0000 (-0500) Subject: Doc: fix typo in events lock section X-Git-Tag: upstream/1.0.21~1015 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2f8f1b1a900f5b9828e5e2ff93c2b26a44fd9de2;p=platform%2Fupstream%2Flibusb.git Doc: fix typo in events lock section --- 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