summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2010-01-25 02:55:26 +0100
committerGravatar Matt Colyer2010-01-26 08:18:02 -0800
commit9ef3ed4afdbc7325c999ff79b033f259af898986 (patch)
treef5530ab58af30a3de437250520a602037c0cff90
parent0bed8ad50863cf90221e8a933422e45f46ac724f (diff)
downloadlibimobiledevice-9ef3ed4afdbc7325c999ff79b033f259af898986.tar.gz
libimobiledevice-9ef3ed4afdbc7325c999ff79b033f259af898986.tar.bz2
device_link_service: send version number with VersionsOk message
[#108 state:resolved]
-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;