Decrement poll() result when internal pipe has been handled
authorDaniel Drake <dsd@gentoo.org>
Sat, 17 Jan 2009 00:25:40 +0000 (00:25 +0000)
committerDaniel Drake <dsd@gentoo.org>
Sat, 17 Jan 2009 00:29:36 +0000 (00:29 +0000)
commitc754ae294cfe96ec4738d6641137c9e6c56330c7
treee98ee8ef5342b334611812009185b4db73ce43d1
parentb9ca960f2ba271d2b1a58e22b7c70464d69f6c8a
Decrement poll() result when internal pipe has been handled

When we receive data on the internal control pipe, we need to correctly
decrement the number of ready file descriptors before passing on the
remaining work to the OS implementation.
libusb/io.c