summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/libimobiledevice/debugserver.h1
-rw-r--r--src/debugserver.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/libimobiledevice/debugserver.h b/include/libimobiledevice/debugserver.h
index 8ac116c..8ff31fb 100644
--- a/include/libimobiledevice/debugserver.h
+++ b/include/libimobiledevice/debugserver.h
@@ -39,6 +39,7 @@ typedef enum {
39 DEBUGSERVER_E_MUX_ERROR = -2, 39 DEBUGSERVER_E_MUX_ERROR = -2,
40 DEBUGSERVER_E_SSL_ERROR = -3, 40 DEBUGSERVER_E_SSL_ERROR = -3,
41 DEBUGSERVER_E_RESPONSE_ERROR = -4, 41 DEBUGSERVER_E_RESPONSE_ERROR = -4,
42 DEBUGSERVER_E_TIMEOUT = -5,
42 DEBUGSERVER_E_UNKNOWN_ERROR = -256 43 DEBUGSERVER_E_UNKNOWN_ERROR = -256
43} debugserver_error_t; 44} debugserver_error_t;
44 45
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)
55 return DEBUGSERVER_E_MUX_ERROR; 55 return DEBUGSERVER_E_MUX_ERROR;
56 case SERVICE_E_SSL_ERROR: 56 case SERVICE_E_SSL_ERROR:
57 return DEBUGSERVER_E_SSL_ERROR; 57 return DEBUGSERVER_E_SSL_ERROR;
58 case SERVICE_E_TIMEOUT:
59 return DEBUGSERVER_E_TIMEOUT;
58 default: 60 default:
59 break; 61 break;
60 } 62 }