summaryrefslogtreecommitdiffstats
path: root/src/MobileSync.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/MobileSync.c')
-rw-r--r--src/MobileSync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MobileSync.c b/src/MobileSync.c
index ae22f4b..a2a361e 100644
--- a/src/MobileSync.c
+++ b/src/MobileSync.c
@@ -115,11 +115,11 @@ static void iphone_msync_stop_session(iphone_msync_client_t client)
array = NULL;
}
-void iphone_msync_free_client(iphone_msync_client_t client)
+iphone_error_t iphone_msync_free_client(iphone_msync_client_t client)
{
iphone_msync_stop_session(client);
- iphone_mux_free_client(client->connection);
+ return iphone_mux_free_client(client->connection);
}
/** Polls the iPhone for MobileSync data.