On 2013.07.12 14:10, Florian Albrechtskirchinger wrote: > --- a/libusb/hotplug.c > +++ b/libusb/hotplug.c > @@ -167,8 +167,7 @@ static int usbi_hotplug_match_cb (struct libusb_context > *ctx, > return 0; > } > > - return hotplug_cb->cb (ctx == usbi_default_context ? NULL : ctx, > - dev, event, hotplug_cb->user_data); > + return hotplug_cb->cb (ctx, dev, event, hotplug_cb->user_data); > }
I don't see a reason not to use the default context either. It's supposed to work in the absence of a user specified context. Unless someone has any objection, I'm planning to push this patch tomorrow. Regards, /Pete ------------------------------------------------------------------------------ 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