diff options
author | Martin Szulecki | 2014-03-21 02:09:41 +0100 |
---|---|---|
committer | Martin Szulecki | 2014-03-21 02:09:41 +0100 |
commit | dbf8c6a2553b4476e0d0682ce5854b6c14f0b4ff (patch) | |
tree | 196b0307093f88508dde8d909269ac313e193164 /src | |
parent | 977121600631291098378896887e2f738768e801 (diff) | |
download | libimobiledevice-dbf8c6a2553b4476e0d0682ce5854b6c14f0b4ff.tar.gz libimobiledevice-dbf8c6a2553b4476e0d0682ce5854b6c14f0b4ff.tar.bz2 |
lockdown: Make sure failed pairing validation works with correct error code
Diffstat (limited to 'src')
-rw-r--r-- | src/lockdown.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lockdown.c b/src/lockdown.c index e7fa813..aff682a 100644 --- a/src/lockdown.c +++ b/src/lockdown.c @@ -952,7 +952,7 @@ static lockdownd_error_t lockdownd_do_pair(lockdownd_client_t client, lockdownd_ if (userpref_has_pair_record(client->udid)) { userpref_read_pair_record(client->udid, &pair_record_plist); } else { - return LOCKDOWN_E_PAIRING_FAILED; + return LOCKDOWN_E_INVALID_HOST_ID; } } } |