summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-09-06 14:27:57 +0200
committerGravatar Martin Szulecki2013-09-17 11:43:34 +0200
commit5fcdd123343057e61eaca00398b69e460827a127 (patch)
tree4e47f84c0b20ca89b365261e3e2241d0909fcbe7
parent4804da75c979419a2d37f7f3e6bf06cc77e71235 (diff)
downloadlibimobiledevice-5fcdd123343057e61eaca00398b69e460827a127.tar.gz
libimobiledevice-5fcdd123343057e61eaca00398b69e460827a127.tar.bz2
lockdown: Fix debug message during reconnect to show correct udid
-rw-r--r--src/lockdown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lockdown.c b/src/lockdown.c
index 9f4864e..71bb198 100644
--- a/src/lockdown.c
+++ b/src/lockdown.c
@@ -713,7 +713,7 @@ static lockdownd_error_t lockdownd_client_reconnect(idevice_t device, lockdownd_
/* try to reconnect */
do {
- debug_info("reconnecting to udid %s, %d remaining attempts", udid, attempts);
+ debug_info("reconnecting to udid %s, %d remaining attempts", device->udid, attempts);
ret = lockdownd_client_new(device, client, label);
if (ret == LOCKDOWN_E_SUCCESS) {
debug_info("reconnected to lockdownd with err %d", ret);