diff options
author | Nikias Bassen | 2023-03-23 04:15:51 +0100 |
---|---|---|
committer | Nikias Bassen | 2023-03-23 04:15:51 +0100 |
commit | 963083be85688206fe52042e8e32602d8139726e (patch) | |
tree | 8659bf3ef2713a2ae6d161a4cb0387e569608712 | |
parent | cc540a20e64b469f7d9d4754610c0692436880d6 (diff) | |
download | libimobiledevice-963083be85688206fe52042e8e32602d8139726e.tar.gz libimobiledevice-963083be85688206fe52042e8e32602d8139726e.tar.bz2 |
installation_proxy: Handle BundleIDs in instproxy_client_options_add
BundleIDs are passed as an array so we need to make sure it gets added as such.
In fact though we just copy the node from the va_arg :)
-rw-r--r-- | src/installation_proxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/installation_proxy.c b/src/installation_proxy.c index b13abf9..9602876 100644 --- a/src/installation_proxy.c +++ b/src/installation_proxy.c @@ -934,7 +934,7 @@ LIBIMOBILEDEVICE_API void instproxy_client_options_add(plist_t client_options, . if (!strcmp(key, "SkipUninstall")) { int intval = va_arg(args, int); plist_dict_set_item(client_options, key, plist_new_bool(intval)); - } else if (!strcmp(key, "ApplicationSINF") || !strcmp(key, "iTunesMetadata") || !strcmp(key, "ReturnAttributes")) { + } else if (!strcmp(key, "ApplicationSINF") || !strcmp(key, "iTunesMetadata") || !strcmp(key, "ReturnAttributes") || !strcmp(key, "BundleIDs")) { plist_t plistval = va_arg(args, plist_t); if (!plistval) { free(key); |