diff options
author | 2025-06-12 13:51:44 +0200 | |
---|---|---|
committer | 2025-06-12 13:51:44 +0200 | |
commit | 421b6e5264ae0088f90fc58f2c209fbb43e30a00 (patch) | |
tree | 03010ff5c06b46d0ff343289a8839c531400417c /src | |
parent | 483d040ab46a5aa11795453a5c1b69d160b31180 (diff) | |
download | libimobiledevice-421b6e5264ae0088f90fc58f2c209fbb43e30a00.tar.gz libimobiledevice-421b6e5264ae0088f90fc58f2c209fbb43e30a00.tar.bz2 |
ostrace: Remove commented-out code
Diffstat (limited to 'src')
-rw-r--r-- | src/ostrace.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/ostrace.c b/src/ostrace.c index 9867019..240d2fd 100644 --- a/src/ostrace.c +++ b/src/ostrace.c @@ -114,27 +114,6 @@ ostrace_error_t ostrace_client_free(ostrace_client_t client) return err; } -/* -ostrace_error_t ostrace_receive_with_timeout(ostrace_client_t client, char* data, uint32_t size, uint32_t *received, unsigned int timeout) -{ - ostrace_error_t res = OSTRACE_E_UNKNOWN_ERROR; - int bytes = 0; - - if (!client || !data || (size == 0)) { - return OSTRACE_E_INVALID_ARG; - } - - res = ostrace_error(service_receive_with_timeout(client->parent, data, size, (uint32_t*)&bytes, timeout)); - if (res != OSTRACE_E_SUCCESS && res != OSTRACE_E_TIMEOUT && res != OSTRACE_E_NOT_ENOUGH_DATA) { - debug_info("Could not read data, error %d", res); - } - if (received) { - *received = (uint32_t)bytes; - } - - return res; -}*/ - static ostrace_error_t ostrace_send_plist(ostrace_client_t client, plist_t plist) { ostrace_error_t res = OSTRACE_E_UNKNOWN_ERROR; |