summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ideviceinstaller.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ideviceinstaller.c b/src/ideviceinstaller.c
index f691556..de1f93c 100644
--- a/src/ideviceinstaller.c
+++ b/src/ideviceinstaller.c
@@ -777,7 +777,7 @@ run_again:
lockdownd_client_free(client);
client = NULL;
- if (afc_client_new(phone, service, &afc) != INSTPROXY_E_SUCCESS) {
+ if (afc_client_new(phone, service, &afc) != AFC_E_SUCCESS) {
fprintf(stderr, "Could not connect to AFC!\n");
goto leave_cleanup;
}
@@ -1243,7 +1243,7 @@ run_again:
lockdownd_client_free(client);
client = NULL;
- if (afc_client_new(phone, service, &afc) != INSTPROXY_E_SUCCESS) {
+ if (afc_client_new(phone, service, &afc) != AFC_E_SUCCESS) {
fprintf(stderr, "Could not connect to AFC!\n");
goto leave_cleanup;
}