summaryrefslogtreecommitdiffstats
path: root/src/installation_proxy.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2012-12-08 21:44:15 +0100
committerGravatar Martin Szulecki2012-12-08 21:44:15 +0100
commitbe07014998dd7099157a59ae8a34ccddfb32ea35 (patch)
treecd773ea4e3fa7dc162b22c23314cf3d23af10ea3 /src/installation_proxy.c
parent4013a355c623c5de3db48f24e81174df88ef7f2c (diff)
downloadlibimobiledevice-be07014998dd7099157a59ae8a34ccddfb32ea35.tar.gz
libimobiledevice-be07014998dd7099157a59ae8a34ccddfb32ea35.tar.bz2
installation_proxy: Correctly handle adding ReturnAttributes in client options
Diffstat (limited to 'src/installation_proxy.c')
-rw-r--r--src/installation_proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/installation_proxy.c b/src/installation_proxy.c
index a32fc50..bab6ab2 100644
--- a/src/installation_proxy.c
+++ b/src/installation_proxy.c
@@ -778,7 +778,7 @@ void instproxy_client_options_add(plist_t client_options, ...)
if (!strcmp(key, "SkipUninstall")) {
int intval = va_arg(args, int);
plist_dict_insert_item(client_options, key, plist_new_bool(intval));
- } else if (!strcmp(key, "ApplicationSINF") || !strcmp(key, "iTunesMetadata")) {
+ } else if (!strcmp(key, "ApplicationSINF") || !strcmp(key, "iTunesMetadata") || !strcmp(key, "ReturnAttributes")) {
plist_t plistval = va_arg(args, plist_t);
if (!plistval) {
free(key);