]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
dbus: Fix type in wpa_dbus_dict_begin_string_array
authorJohannes Berg <johannes.berg@intel.com>
Fri, 17 Dec 2010 13:20:32 +0000 (15:20 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 17 Dec 2010 13:20:32 +0000 (15:20 +0200)
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 <johannes.berg@intel.com>
wpa_supplicant/dbus/dbus_dict_helpers.c

index b3aff40388b176748543efe8f57b925aa6624446..d90048769d0597a2d3f73dcfc8dbc61e251eaea1 100644 (file)
@@ -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;