summaryrefslogtreecommitdiffstats
path: root/src/mobilesync.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2011-04-28 21:01:27 +0200
committerGravatar Martin Szulecki2011-04-28 21:01:27 +0200
commitfa40b4ad59bce6b9d8c3a0763b09530e8cf2a006 (patch)
treeb3c3409dac86c2d0ee90e1b620763bb37ac3b527 /src/mobilesync.c
parentd81887cf6a0d067d8b345d8077027ccd634c1c17 (diff)
downloadlibimobiledevice-fa40b4ad59bce6b9d8c3a0763b09530e8cf2a006.tar.gz
libimobiledevice-fa40b4ad59bce6b9d8c3a0763b09530e8cf2a006.tar.bz2
device_link_service: Allow passing a reason message upon disconnecting
Diffstat (limited to 'src/mobilesync.c')
-rw-r--r--src/mobilesync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mobilesync.c b/src/mobilesync.c
index ee9af5f..e600452 100644
--- a/src/mobilesync.c
+++ b/src/mobilesync.c
@@ -122,7 +122,7 @@ mobilesync_error_t mobilesync_client_free(mobilesync_client_t client)
{
if (!client)
return MOBILESYNC_E_INVALID_ARG;
- device_link_service_disconnect(client->parent);
+ device_link_service_disconnect(client->parent, "All done, thanks for the memories");
mobilesync_error_t err = mobilesync_error(device_link_service_client_free(client->parent));
free(client);
return err;