From bf3e105ee37d29f6121d26c039c3c3add5c61d66 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Tue, 17 Jul 2012 18:17:02 +0200 Subject: restore: Remove commented obsolete code calling idevice_unsubscribe() --- src/restore.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/restore.c') 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; } -- cgit v1.1-32-gdbae