diff options
author | nicklas79 <nicklas79> | 2009-09-28 18:19:57 +0000 |
---|---|---|
committer | nicklas79 <nicklas79> | 2009-09-28 18:19:57 +0000 |
commit | a99196ac65e034c530ea9303c74ec8b74cb8cd19 (patch) | |
tree | 4e2961937ab18f32cb536aefe595b90371f51fb2 | |
parent | daadbf2e26eca84c9d250f0e09d9efbe2c70d77a (diff) | |
download | libmtp-a99196ac65e034c530ea9303c74ec8b74cb8cd19.tar.gz |
A little fix to be clean
-rw-r--r-- | src/libusb-glue.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libusb-glue.c b/src/libusb-glue.c index 6fdb0e7..7dfd223 100644 --- a/src/libusb-glue.c +++ b/src/libusb-glue.c @@ -136,7 +136,8 @@ static struct usb_bus* init_usb() * Some additional libusb debugging please. * We use the same level debug between MTP and USB. */ - usb_set_debug(LIBMTP_debug); + if ((LIBMTP_debug & 0x04) != 0) + usb_set_debug(9); usb_init(); usb_find_busses(); |