summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2019-06-13 01:47:16 +0200
committerGravatar Nikias Bassen2019-06-13 01:47:16 +0200
commitfff10db8632bd9eb9e3a8c93146d1c77fe4a3b01 (patch)
tree26fdec4ffb875773b3a1575b542b66fc22dcf639
parent4d8b89223cbc9f530cc650ab5131c09eab1af258 (diff)
downloadlibimobiledevice-fff10db8632bd9eb9e3a8c93146d1c77fe4a3b01.tar.gz
libimobiledevice-fff10db8632bd9eb9e3a8c93146d1c77fe4a3b01.tar.bz2
cyhton: Fix webinspector.pxi having undefined error types
-rw-r--r--cython/webinspector.pxi4
1 files changed, 3 insertions, 1 deletions
diff --git a/cython/webinspector.pxi b/cython/webinspector.pxi
index eb9fba1..f77547d 100644
--- a/cython/webinspector.pxi
+++ b/cython/webinspector.pxi
@@ -9,6 +9,8 @@ cdef extern from "libimobiledevice/webinspector.h":
WEBINSPECTOR_E_PLIST_ERROR = -2
WEBINSPECTOR_E_MUX_ERROR = -3
WEBINSPECTOR_E_SSL_ERROR = -4
+ WEBINSPECTOR_E_RECEIVE_TIMEOUT = -5,
+ WEBINSPECTOR_E_NOT_ENOUGH_DATA = -6,
WEBINSPECTOR_E_UNKNOWN_ERROR = -256
webinspector_error_t webinspector_client_new(idevice_t device, lockdownd_service_descriptor_t descriptor, webinspector_client_t * client)
@@ -27,7 +29,7 @@ cdef class WebinspectorError(BaseError):
WEBINSPECTOR_E_MUX_ERROR: "MUX error",
WEBINSPECTOR_E_SSL_ERROR: "SSL Error",
WEBINSPECTOR_E_NOT_ENOUGH_DATA: 'Not enough data',
- WEBINSPECTOR_E_TIMEOUT: 'Connection timeout',
+ WEBINSPECTOR_E_RECEIVE_TIMEOUT: 'Connection timeout',
WEBINSPECTOR_E_UNKNOWN_ERROR: "Unknown error"
}
BaseError.__init__(self, *args, **kwargs)