summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2009-05-23 13:20:49 +0200
committerGravatar Nikias Bassen2009-05-23 13:20:49 +0200
commit6070107e7c8b27844e7e15d0c7e4ef4f7d0076b0 (patch)
treeba8fb49c74b9c564442acbf29aef20c3701432fd /src
parente6de508029e3db03eb295b466d18f2ccf790902b (diff)
downloadusbmuxd-6070107e7c8b27844e7e15d0c7e4ef4f7d0076b0.tar.gz
usbmuxd-6070107e7c8b27844e7e15d0c7e4ef4f7d0076b0.tar.bz2
Enable libusb debugging when verbose is >= 2
Diffstat (limited to 'src')
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index f377b82..1eb7af3 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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);