The accompanying patch changes the hotplug callback invocation to always pass 
the explicit context pointer.
The current behavior doesn't permit comparing contexts in the callback, when 
dealing with multiple contexts, as the comparison will fail, if the context is 
also the default and therefore NULL.

Please CC me for any feedback, as I'm not subscribed to the list.

Florian Albrechtskirchinger (1):
  hotplug: Pass explicit context to callbacks

 libusb/hotplug.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

-- 
1.8.3.2


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to