diff options
author | Martin Szulecki | 2012-07-17 18:17:02 +0200 |
---|---|---|
committer | Nikias Bassen | 2012-07-17 18:17:02 +0200 |
commit | bf3e105ee37d29f6121d26c039c3c3add5c61d66 (patch) | |
tree | 02f72a8ffef5e7cb6b788f625b25bff948ceedd7 | |
parent | bb0255512f95ce0fccc2b659b91246e1c03072c7 (diff) | |
download | idevicerestore-bf3e105ee37d29f6121d26c039c3c3add5c61d66.tar.gz idevicerestore-bf3e105ee37d29f6121d26c039c3c3add5c61d66.tar.bz2 |
restore: Remove commented obsolete code calling idevice_unsubscribe()
-rw-r--r-- | src/restore.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/restore.c b/src/restore.c index 6ffcc19..72d075e 100644 --- a/src/restore.c +++ b/src/restore.c @@ -369,7 +369,6 @@ int restore_open_with_timeout(struct idevicerestore_client_t* client) { restore_error = restored_client_new(device, &restored, "idevicerestore"); if (restore_error != RESTORE_E_SUCCESS) { - //idevice_event_unsubscribe(); idevice_free(device); return -1; } @@ -381,7 +380,6 @@ int restore_open_with_timeout(struct idevicerestore_client_t* client) { } else { error("ERROR: Unable to connect to restored, error=%d\n", restore_error); restored_client_free(restored); - //idevice_event_unsubscribe(); idevice_free(device); return -1; } |