From: Johannes Berg Date: Fri, 17 Dec 2010 13:20:32 +0000 (+0200) Subject: dbus: Fix type in wpa_dbus_dict_begin_string_array X-Git-Tag: hostap-1-bp~682 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2810199eca02e886d2681fd38f5e591726dc170;p=thirdparty%2Fhostap.git 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 --- 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;