From a2810199eca02e886d2681fd38f5e591726dc170 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Fri, 17 Dec 2010 15:20:32 +0200 Subject: [PATCH] dbus: Fix type in wpa_dbus_dict_begin_string_array The array's type should be given as the proper DBUS_TYPE_STRING_AS_STRING, but evidently it doesn't matter since it's all packed into a variant type. Signed-off-by: Johannes Berg --- wpa_supplicant/dbus/dbus_dict_helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpa_supplicant/dbus/dbus_dict_helpers.c b/wpa_supplicant/dbus/dbus_dict_helpers.c index b3aff4038..d90048769 100644 --- a/wpa_supplicant/dbus/dbus_dict_helpers.c +++ b/wpa_supplicant/dbus/dbus_dict_helpers.c @@ -478,7 +478,7 @@ dbus_bool_t wpa_dbus_dict_begin_string_array(DBusMessageIter *iter_dict, return FALSE; if (!dbus_message_iter_open_container(iter_dict_val, DBUS_TYPE_ARRAY, - DBUS_TYPE_BYTE_AS_STRING, + DBUS_TYPE_STRING_AS_STRING, iter_array)) return FALSE;