diff options
| author | 2010-01-25 02:55:26 +0100 | |
|---|---|---|
| committer | 2010-01-26 08:18:02 -0800 | |
| commit | 9ef3ed4afdbc7325c999ff79b033f259af898986 (patch) | |
| tree | f5530ab58af30a3de437250520a602037c0cff90 | |
| parent | 0bed8ad50863cf90221e8a933422e45f46ac724f (diff) | |
| download | libimobiledevice-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.c | 1 |
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 | |||
| 193 | array = plist_new_array(); | 193 | array = plist_new_array(); |
| 194 | plist_array_append_item(array, plist_new_string("DLMessageVersionExchange")); | 194 | plist_array_append_item(array, plist_new_string("DLMessageVersionExchange")); |
| 195 | plist_array_append_item(array, plist_new_string("DLVersionsOk")); | 195 | plist_array_append_item(array, plist_new_string("DLVersionsOk")); |
| 196 | plist_array_append_item(array, plist_new_uint(version_major)); | ||
| 196 | if (property_list_service_send_binary_plist(client->parent, array) != PROPERTY_LIST_SERVICE_E_SUCCESS) { | 197 | if (property_list_service_send_binary_plist(client->parent, array) != PROPERTY_LIST_SERVICE_E_SUCCESS) { |
| 197 | debug_info("Error when sending DLVersionsOk"); | 198 | debug_info("Error when sending DLVersionsOk"); |
| 198 | err = DEVICE_LINK_SERVICE_E_MUX_ERROR; | 199 | err = DEVICE_LINK_SERVICE_E_MUX_ERROR; |
