diff options
author | Nikias Bassen | 2009-05-23 13:20:49 +0200 |
---|---|---|
committer | Nikias Bassen | 2009-05-23 13:20:49 +0200 |
commit | 6070107e7c8b27844e7e15d0c7e4ef4f7d0076b0 (patch) | |
tree | ba8fb49c74b9c564442acbf29aef20c3701432fd | |
parent | e6de508029e3db03eb295b466d18f2ccf790902b (diff) | |
download | usbmuxd-6070107e7c8b27844e7e15d0c7e4ef4f7d0076b0.tar.gz usbmuxd-6070107e7c8b27844e7e15d0c7e4ef4f7d0076b0.tar.bz2 |
Enable libusb debugging when verbose is >= 2
-rw-r--r-- | src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1181,6 +1181,9 @@ int main(int argc, char **argv) chmod(USBMUXD_SOCKET_FILE, 0666); + if (verbose >= 2) + usb_set_debug(verbose); + if (verbose >= 4) usbmux_set_debug(1); |