diff options
author | 2025-06-12 13:51:44 +0200 | |
---|---|---|
committer | 2025-06-12 13:51:44 +0200 | |
commit | 421b6e5264ae0088f90fc58f2c209fbb43e30a00 (patch) | |
tree | 03010ff5c06b46d0ff343289a8839c531400417c | |
parent | 483d040ab46a5aa11795453a5c1b69d160b31180 (diff) | |
download | libimobiledevice-421b6e5264ae0088f90fc58f2c209fbb43e30a00.tar.gz libimobiledevice-421b6e5264ae0088f90fc58f2c209fbb43e30a00.tar.bz2 |
ostrace: Remove commented-out code
-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) | |||
114 | return err; | 114 | return err; |
115 | } | 115 | } |
116 | 116 | ||
117 | /* | ||
118 | ostrace_error_t ostrace_receive_with_timeout(ostrace_client_t client, char* data, uint32_t size, uint32_t *received, unsigned int timeout) | ||
119 | { | ||
120 | ostrace_error_t res = OSTRACE_E_UNKNOWN_ERROR; | ||
121 | int bytes = 0; | ||
122 | |||
123 | if (!client || !data || (size == 0)) { | ||
124 | return OSTRACE_E_INVALID_ARG; | ||
125 | } | ||
126 | |||
127 | res = ostrace_error(service_receive_with_timeout(client->parent, data, size, (uint32_t*)&bytes, timeout)); | ||
128 | if (res != OSTRACE_E_SUCCESS && res != OSTRACE_E_TIMEOUT && res != OSTRACE_E_NOT_ENOUGH_DATA) { | ||
129 | debug_info("Could not read data, error %d", res); | ||
130 | } | ||
131 | if (received) { | ||
132 | *received = (uint32_t)bytes; | ||
133 | } | ||
134 | |||
135 | return res; | ||
136 | }*/ | ||
137 | |||
138 | static ostrace_error_t ostrace_send_plist(ostrace_client_t client, plist_t plist) | 117 | static ostrace_error_t ostrace_send_plist(ostrace_client_t client, plist_t plist) |
139 | { | 118 | { |
140 | ostrace_error_t res = OSTRACE_E_UNKNOWN_ERROR; | 119 | ostrace_error_t res = OSTRACE_E_UNKNOWN_ERROR; |