summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/usbmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usbmux.c b/src/usbmux.c
index 9fb75ef..4512dad 100644
--- a/src/usbmux.c
+++ b/src/usbmux.c
@@ -179,7 +179,7 @@ iphone_error_t iphone_mux_new_client(iphone_device_t device, uint16_t src_port,
179iphone_error_t iphone_mux_free_client(iphone_umux_client_t client) 179iphone_error_t iphone_mux_free_client(iphone_umux_client_t client)
180{ 180{
181 if (!client || !client->phone) 181 if (!client || !client->phone)
182 return; 182 return IPHONE_E_INVALID_ARG;
183 183
184 client->header->tcp_flags = 0x04; 184 client->header->tcp_flags = 0x04;
185 client->header->scnt = htonl(client->header->scnt); 185 client->header->scnt = htonl(client->header->scnt);