diff options
author | Martin Szulecki | 2014-12-09 15:55:21 +0100 |
---|---|---|
committer | Martin Szulecki | 2014-12-09 15:55:21 +0100 |
commit | ea7345957a75ab6d34b044738272c62875011094 (patch) | |
tree | 67784760e793281bf390fd0719d8454a9b37aa76 | |
parent | 5dd1bfe59ff4e396d61447946a0b8b1f28a65327 (diff) | |
download | libimobiledevice-ea7345957a75ab6d34b044738272c62875011094.tar.gz libimobiledevice-ea7345957a75ab6d34b044738272c62875011094.tar.bz2 |
debugserver: Return enum error type instead of int for type consistency
-rw-r--r-- | src/debugserver.c | 2 |
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) |