summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2016-01-28 16:24:07 +0100
committerGravatar Nikias Bassen2016-01-28 16:24:07 +0100
commit9120f132edffe4e05a31179c18453979656ffd3a (patch)
tree845cff205ceb9c86bca7a7e12f2b33d7a1bb2456 /src
parentfc3982fa1e3e8972f8f49e2e35eef82e02f1deaf (diff)
downloadusbmuxd-9120f132edffe4e05a31179c18453979656ffd3a.tar.gz
usbmuxd-9120f132edffe4e05a31179c18453979656ffd3a.tar.bz2
Fix debug message printing the wrong timeout value
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 2e4439c..4f792c4 100644
--- a/src/main.c
+++ b/src/main.c
@@ -189,7 +189,7 @@ static int main_loop(int listenfd)
to = usb_get_timeout();
usbmuxd_log(LL_FLOOD, "USB timeout is %d ms", to);
dto = device_get_timeout();
- usbmuxd_log(LL_FLOOD, "Device timeout is %d ms", to);
+ usbmuxd_log(LL_FLOOD, "Device timeout is %d ms", dto);
if(dto < to)
to = dto;