summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2012-07-17 18:17:02 +0200
committerGravatar Nikias Bassen2012-07-17 18:17:02 +0200
commitbf3e105ee37d29f6121d26c039c3c3add5c61d66 (patch)
tree02f72a8ffef5e7cb6b788f625b25bff948ceedd7
parentbb0255512f95ce0fccc2b659b91246e1c03072c7 (diff)
downloadidevicerestore-bf3e105ee37d29f6121d26c039c3c3add5c61d66.tar.gz
idevicerestore-bf3e105ee37d29f6121d26c039c3c3add5c61d66.tar.bz2
restore: Remove commented obsolete code calling idevice_unsubscribe()
-rw-r--r--src/restore.c2
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;
}