summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2022-02-09 03:59:18 +0100
committerGravatar Nikias Bassen2022-02-09 03:59:18 +0100
commitee9104bcb8d494b579e122a2dcc94a2b79d38e4b (patch)
tree06ddd03911230018bdb014fb988f6619c5b01864
parentcc66a407910620b99e380acb9b48445bc4b8ddff (diff)
downloadlibimobiledevice-ee9104bcb8d494b579e122a2dcc94a2b79d38e4b.tar.gz
libimobiledevice-ee9104bcb8d494b579e122a2dcc94a2b79d38e4b.tar.bz2
companion_proxy: Fix invalid argument passed to plist_dict_merge
-rw-r--r--src/companion_proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/companion_proxy.c b/src/companion_proxy.c
index 92bc7f1..5852904 100644
--- a/src/companion_proxy.c
+++ b/src/companion_proxy.c
@@ -325,7 +325,7 @@ LIBIMOBILEDEVICE_API companion_proxy_error_t companion_proxy_start_forwarding_se
plist_dict_set_item(dict, "IsServiceLowPriority", plist_new_bool(0));
plist_dict_set_item(dict, "PreferWifi", plist_new_bool(0));
if (options) {
- plist_dict_merge(dict, options);
+ plist_dict_merge(&dict, options);
}
companion_proxy_error_t res = companion_proxy_send(client, dict);