diff options
author | Daniel Drake <dsd@gentoo.org> | 2008-06-28 21:24:49 -0500 |
---|---|---|
committer | Daniel Drake <dsd@gentoo.org> | 2008-06-28 21:26:03 -0500 |
commit | 83a029062c1d2bfb584d7a6ee94915583d37464c (patch) | |
tree | f7491b42946fd97c4212d55205234fa355ba891c | |
parent | fbad9a5426f0369394c88987355a8fb06a741ca1 (diff) | |
download | libusb-83a029062c1d2bfb584d7a6ee94915583d37464c.tar.gz |
Add missing GET_CONTEXT()
-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 ef6ad9f..984fe31 100644 --- a/libusb/io.c +++ b/libusb/io.c @@ -1713,6 +1713,7 @@ API_EXPORTED const struct libusb_pollfd **libusb_get_pollfds( struct usbi_pollfd *ipollfd; size_t i = 0; size_t cnt = 0; + USBI_GET_CONTEXT(ctx); pthread_mutex_lock(&ctx->pollfds_lock); list_for_each_entry(ipollfd, &ctx->pollfds, list) |