summaryrefslogtreecommitdiffstats
path: root/src/device_link_service.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2010-01-25 02:55:26 +0100
committerGravatar Martin Szulecki2010-01-25 02:59:42 +0100
commita4a5ffb71575ee76c54903d2616f5845721c9af7 (patch)
tree7e8a75f78b5a82258e8670ce05233691ad7a1cbc /src/device_link_service.c
parentb42576baef5775d46a477219de572f68024b1aac (diff)
downloadlibimobiledevice-a4a5ffb71575ee76c54903d2616f5845721c9af7.tar.gz
libimobiledevice-a4a5ffb71575ee76c54903d2616f5845721c9af7.tar.bz2
device_link_service: send version number with VersionsOk message
Diffstat (limited to 'src/device_link_service.c')
-rw-r--r--src/device_link_service.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device_link_service.c b/src/device_link_service.c
index e1155a5..b7d9ee8 100644
--- a/src/device_link_service.c
+++ b/src/device_link_service.c
@@ -193,6 +193,7 @@ device_link_service_error_t device_link_service_version_exchange(device_link_ser
array = plist_new_array();
plist_array_append_item(array, plist_new_string("DLMessageVersionExchange"));
plist_array_append_item(array, plist_new_string("DLVersionsOk"));
+ plist_array_append_item(array, plist_new_uint(version_major));
if (property_list_service_send_binary_plist(client->parent, array) != PROPERTY_LIST_SERVICE_E_SUCCESS) {
debug_info("Error when sending DLVersionsOk");
err = DEVICE_LINK_SERVICE_E_MUX_ERROR;