summaryrefslogtreecommitdiff
path: root/libusb/version_nano.h
diff options
context:
space:
mode:
authorChris Dickens <christopher.a.dickens@gmail.com>2020-03-31 19:57:28 -0700
committerChris Dickens <christopher.a.dickens@gmail.com>2020-03-31 19:57:28 -0700
commit24deb4904246953fc8f231d8371fac82bf856e5d (patch)
tree3c36e9d0c8c9e97012a22e1a1909240f93ce16f4 /libusb/version_nano.h
parent3f6e8baa2baaa617a83c810c1ae1b49e4f4a6667 (diff)
downloadlibusb-24deb4904246953fc8f231d8371fac82bf856e5d.tar.gz
Windows: Improve the get_interface_details_filter() function
The sole caller of this function only cares about the device interface path, so change the calling convention to be like that of the get_interface_details() function. This also adds more precise error reporting. Since this function is specific to the libusb0 filter driver, do not require the caller to provide the GUID for the libusb0 filter driver. Remove the use of strtok() on the result of this function. The strtok() function is not reentrant and is less-than-optimal for locating the start of the GUID component in the device interface path. Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
Diffstat (limited to 'libusb/version_nano.h')
-rw-r--r--libusb/version_nano.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index 67bcc19..36ce541 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 11484
+#define LIBUSB_NANO 11485