Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F165005993
D55291.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
289 B
Referenced Files
None
Subscribers
None
D55291.diff
View Options
diff --git a/lib/libusb/libusb10_hotplug.c b/lib/libusb/libusb10_hotplug.c
--- a/lib/libusb/libusb10_hotplug.c
+++ b/lib/libusb/libusb10_hotplug.c
@@ -430,5 +430,7 @@
}
HOTPLUG_UNLOCK(ctx);
- return (handle);
+ if (handle != NULL)
+ return (handle->user_data);
+ return (NULL);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Aug 6, 7:34 AM (18 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36096706
Default Alt Text
D55291.diff (289 B)
Attached To
Mode
D55291: libusb: make libusb_hotplug_get_user_data actually return user_data
Attached
Detach File
Event Timeline
Log In to Comment