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)
115 array = NULL; 115 array = NULL;
116} 116}
117 117
118void iphone_msync_free_client(iphone_msync_client_t client) 118iphone_error_t iphone_msync_free_client(iphone_msync_client_t client)
119{ 119{
120 iphone_msync_stop_session(client); 120 iphone_msync_stop_session(client);
121 121
122 iphone_mux_free_client(client->connection); 122 return iphone_mux_free_client(client->connection);
123} 123}
124 124
125/** Polls the iPhone for MobileSync data. 125/** Polls the iPhone for MobileSync data.