core: Make LIBUSB_DEBUG environment variable also work from libusb_exit
authorHans de Goede <hdegoede@redhat.com>
Tue, 15 Oct 2013 14:03:05 +0000 (16:03 +0200)
committerHans de Goede <hdegoede@redhat.com>
Wed, 20 Nov 2013 12:21:49 +0000 (13:21 +0100)
commit850dc391cfc6e3f7e8cf917f8baf646ae7ca83a1
treeae0f3eb6111bdcf567b3591560e89a4a802ad813
parent15ee9598454f0c3b6221f45d36c38fb474af74df
core: Make LIBUSB_DEBUG environment variable also work from libusb_exit

libusb_exit sets usbi_default_context to NULL, modify usbi_log_v so that
it still honors the  LIBUSB_DEBUG environment variable in this case.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
libusb/core.c
libusb/version_nano.h