summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2014-10-02 17:01:54 +0200
committerGravatar Martin Szulecki2014-10-02 17:01:54 +0200
commit1841dc39d0087525969d45d156dfbfaf2bf47675 (patch)
treed5dde3bef37e162ed365b82ae6f51dca1e17c530 /tools
parent12539c3ed6aa97b9dfe9d1c1d62cbc72c27bb4c3 (diff)
downloadlibimobiledevice-1841dc39d0087525969d45d156dfbfaf2bf47675.tar.gz
libimobiledevice-1841dc39d0087525969d45d156dfbfaf2bf47675.tar.bz2
idevicebackup2: Use macro instead of plain AFC service name
Diffstat (limited to 'tools')
-rw-r--r--tools/idevicebackup2.c2
1 files changed, 1 insertions, 1 deletions
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);
}