diff options
author | Nikias Bassen | 2013-12-09 02:34:12 +0100 |
---|---|---|
committer | Nikias Bassen | 2013-12-09 02:34:12 +0100 |
commit | 82d1c578d7166c0ba08d8b27aeba6be6230f9691 (patch) | |
tree | 440f9f7a99f9ba3dffd80bf06a094f00e638a494 | |
parent | 779d0fd45231a66f0e6f77ed5a713b60813e76f8 (diff) | |
download | libusbmuxd-82d1c578d7166c0ba08d8b27aeba6be6230f9691.tar.gz libusbmuxd-82d1c578d7166c0ba08d8b27aeba6be6230f9691.tar.bz2 |
add missing kLibUSBMuxVersion to plist messages
-rw-r--r-- | src/libusbmuxd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libusbmuxd.c b/src/libusbmuxd.c index 941ddc0..a39a099 100644 --- a/src/libusbmuxd.c +++ b/src/libusbmuxd.c @@ -63,6 +63,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA #define PLIST_BUNDLE_ID "com.marcansoft.usbmuxd" #define PLIST_CLIENT_VERSION_STRING "usbmuxd built for freedom" #define PLIST_PROGNAME "libusbmuxd" +#define PLIST_LIBUSBMUX_VERSION 3 #endif // usbmuxd public interface @@ -341,6 +342,7 @@ static plist_t create_plist_message(const char* message_type) plist_dict_insert_item(plist, "ClientVersionString", plist_new_string(PLIST_CLIENT_VERSION_STRING)); plist_dict_insert_item(plist, "MessageType", plist_new_string(message_type)); plist_dict_insert_item(plist, "ProgName", plist_new_string(PLIST_PROGNAME)); + plist_dict_insert_item(plist, "kLibUSBMuxVersion", plist_new_uint(PLIST_LIBUSBMUX_VERSION)); return plist; } #endif |