diff options
author | Nikias Bassen | 2019-09-27 12:52:03 +0200 |
---|---|---|
committer | Nikias Bassen | 2019-09-27 12:52:03 +0200 |
commit | 8f96c52de2f9f35f361d29095190fc673db7d1c1 (patch) | |
tree | 991b5f37ed8c504b2f77a8d0afc22182afbd340c /src/mobilebackup.c | |
parent | acf0a76be3c81a8ce69817af2b16a546a08f7ecb (diff) | |
download | libimobiledevice-8f96c52de2f9f35f361d29095190fc673db7d1c1.tar.gz libimobiledevice-8f96c52de2f9f35f361d29095190fc673db7d1c1.tar.bz2 |
Make sure to handle timeout errors in device link service and all depending services
Diffstat (limited to 'src/mobilebackup.c')
-rw-r--r-- | src/mobilebackup.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mobilebackup.c b/src/mobilebackup.c index b32e0ba..2682a6f 100644 --- a/src/mobilebackup.c +++ b/src/mobilebackup.c @@ -2,6 +2,7 @@ * mobilebackup.c * Contains functions for the built-in MobileBackup client. * + * Copyright (c) 2010-2019 Nikias Bassen, All Rights Reserved. * Copyright (c) 2009 Martin Szulecki All Rights Reserved. * * This library is free software; you can redistribute it and/or @@ -52,6 +53,10 @@ static mobilebackup_error_t mobilebackup_error(device_link_service_error_t err) return MOBILEBACKUP_E_PLIST_ERROR; case DEVICE_LINK_SERVICE_E_MUX_ERROR: return MOBILEBACKUP_E_MUX_ERROR; + case DEVICE_LINK_SERVICE_E_SSL_ERROR: + return MOBILEBACKUP_E_SSL_ERROR; + case DEVICE_LINK_SERVICE_E_RECEIVE_TIMEOUT: + return MOBILEBACKUP_E_RECEIVE_TIMEOUT; case DEVICE_LINK_SERVICE_E_BAD_VERSION: return MOBILEBACKUP_E_BAD_VERSION; default: |