summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Demyan Kimitsa2019-10-10 11:52:53 +0300
committerGravatar Nikias Bassen2020-02-20 02:15:03 +0100
commitff62b2d77e0ef8850930c8ce70b4fb3d15621673 (patch)
treea4af5feca631e6167e0da7b59323817b0130886b /src
parente52ef954be27fb5a4bf6f7e769c33851483d0e80 (diff)
downloadlibimobiledevice-ff62b2d77e0ef8850930c8ce70b4fb3d15621673.tar.gz
libimobiledevice-ff62b2d77e0ef8850930c8ce70b4fb3d15621673.tar.bz2
debugserver: Proxy SERVICE_E_TIMEOUT into DEBUGSERVER_E_TIMEOUT
This allows proper handling the timeout case in debugserver_client_receive_with_timeout
Diffstat (limited to 'src')
-rw-r--r--src/debugserver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/debugserver.c b/src/debugserver.c
index 447a91e..4aab1fc 100644
--- a/src/debugserver.c
+++ b/src/debugserver.c
@@ -55,6 +55,8 @@ static debugserver_error_t debugserver_error(service_error_t err)
return DEBUGSERVER_E_MUX_ERROR;
case SERVICE_E_SSL_ERROR:
return DEBUGSERVER_E_SSL_ERROR;
+ case SERVICE_E_TIMEOUT:
+ return DEBUGSERVER_E_TIMEOUT;
default:
break;
}