From 1841dc39d0087525969d45d156dfbfaf2bf47675 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Thu, 2 Oct 2014 17:01:54 +0200 Subject: idevicebackup2: Use macro instead of plain AFC service name --- tools/idevicebackup2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/idevicebackup2.c b/tools/idevicebackup2.c index b0a4f2c..f76296d 100644 --- a/tools/idevicebackup2.c +++ b/tools/idevicebackup2.c @@ -1526,7 +1526,7 @@ int main(int argc, char *argv[]) /* start AFC, we need this for the lock file */ service->port = 0; service->ssl_enabled = 0; - ret = lockdownd_start_service(lockdown, "com.apple.afc", &service); + ret = lockdownd_start_service(lockdown, AFC_SERVICE_NAME, &service); if ((ret == LOCKDOWN_E_SUCCESS) && service->port) { afc_client_new(device, service, &afc); } -- cgit v1.1-32-gdbae