hotplug: Pass explicit context to callbacks
commit97958ba756b2f90aa9f65cc7674bc558768dde9f
authorFlorian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
Fri, 12 Jul 2013 13:10:00 +0000 (12 14:10 +0100)
committerPete Batard <pete@akeo.ie>
Tue, 23 Jul 2013 19:23:13 +0000 (23 20:23 +0100)
tree11f33c31fd61720997386a752d77d82b601a62ec
parentd1ed6c4d6729b7527f9d1f743242e6bcd7f49195
hotplug: Pass explicit context to callbacks

* Instead of passing NULL for the context to hotplug callbacks, if the
  context happens to be the default context, always pass the explicit
  context pointer.
libusb/hotplug.c
libusb/version_nano.h