summaryrefslogtreecommitdiffstats
path: root/src/usbmux.c
diff options
context:
space:
mode:
authorGravatar Christophe Fergeau2008-12-29 12:06:15 +0100
committerGravatar Matt Colyer2009-01-02 09:55:08 -0800
commitb22ea90796608bc4e44317275ee05944b0f45877 (patch)
tree0db9a53af866ef40f97bd9b7188c3d3ccc8d404d /src/usbmux.c
parentc2531f3f54e08dcd2828a6c82778aca2f47f0c5a (diff)
downloadlibimobiledevice-b22ea90796608bc4e44317275ee05944b0f45877.tar.gz
libimobiledevice-b22ea90796608bc4e44317275ee05944b0f45877.tar.bz2
Fix "missing return value" warning
Diffstat (limited to 'src/usbmux.c')
-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,
iphone_error_t iphone_mux_free_client(iphone_umux_client_t client)
{
if (!client || !client->phone)
- return;
+ return IPHONE_E_INVALID_ARG;
client->header->tcp_flags = 0x04;
client->header->scnt = htonl(client->header->scnt);