diff options
author | Martin Szulecki | 2014-10-02 17:01:54 +0200 |
---|---|---|
committer | Martin Szulecki | 2014-10-02 17:01:54 +0200 |
commit | 1841dc39d0087525969d45d156dfbfaf2bf47675 (patch) | |
tree | d5dde3bef37e162ed365b82ae6f51dca1e17c530 | |
parent | 12539c3ed6aa97b9dfe9d1c1d62cbc72c27bb4c3 (diff) | |
download | libimobiledevice-1841dc39d0087525969d45d156dfbfaf2bf47675.tar.gz libimobiledevice-1841dc39d0087525969d45d156dfbfaf2bf47675.tar.bz2 |
idevicebackup2: Use macro instead of plain AFC service name
-rw-r--r-- | tools/idevicebackup2.c | 2 |
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); } |