summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2014-12-09 15:55:21 +0100
committerGravatar Martin Szulecki2014-12-09 15:55:21 +0100
commitea7345957a75ab6d34b044738272c62875011094 (patch)
tree67784760e793281bf390fd0719d8454a9b37aa76 /src
parent5dd1bfe59ff4e396d61447946a0b8b1f28a65327 (diff)
downloadlibimobiledevice-ea7345957a75ab6d34b044738272c62875011094.tar.gz
libimobiledevice-ea7345957a75ab6d34b044738272c62875011094.tar.bz2
debugserver: Return enum error type instead of int for type consistency
Diffstat (limited to 'src')
-rw-r--r--src/debugserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debugserver.c b/src/debugserver.c
index e653a8e..220209b 100644
--- a/src/debugserver.c
+++ b/src/debugserver.c
@@ -85,7 +85,7 @@ LIBIMOBILEDEVICE_API debugserver_error_t debugserver_client_new(idevice_t device
*client = client_loc;
debug_info("debugserver_client successfully created.");
- return 0;
+ return DEBUGSERVER_E_SUCCESS;
}
LIBIMOBILEDEVICE_API debugserver_error_t debugserver_client_start_service(idevice_t device, debugserver_client_t * client, const char* label)