summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2014-10-09 16:29:27 +0200
committerGravatar Martin Szulecki2014-10-09 16:29:27 +0200
commit75b0ba0d69bff5de42fb21ccd5650b78c2997dfa (patch)
tree39406265848adc9f28489e841c0cfbd535c21163
parent82be85a19932a5167d1338b4af7151c8d5d215ac (diff)
downloadlibimobiledevice-75b0ba0d69bff5de42fb21ccd5650b78c2997dfa.tar.gz
libimobiledevice-75b0ba0d69bff5de42fb21ccd5650b78c2997dfa.tar.bz2
debugserver: Fix wrong service_error_t return type in debugserver_client_send()
-rw-r--r--src/debugserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debugserver.c b/src/debugserver.c
index ca52162..37b54de 100644
--- a/src/debugserver.c
+++ b/src/debugserver.c
@@ -113,7 +113,7 @@ LIBIMOBILEDEVICE_API debugserver_error_t debugserver_client_send(debugserver_cli
int bytes = 0;
if (!client || !data || (size == 0)) {
- return SERVICE_E_INVALID_ARG;
+ return DEBUGSERVER_E_INVALID_ARG;
}
debug_info("sending %d bytes", size);