From b22ea90796608bc4e44317275ee05944b0f45877 Mon Sep 17 00:00:00 2001
From: Christophe Fergeau
Date: Mon, 29 Dec 2008 12:06:15 +0100
Subject: Fix "missing return value" warning

---
 src/usbmux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
-- 
cgit v1.1-32-gdbae