[PATCH] DBus: fix type in wpa_dbus_dict_begin_string_array
Johannes Berg
johannes
Thu Dec 9 05:09:35 PST 2010
From: Johannes Berg <johannes.berg at intel.com>
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 at intel.com>
---
wpa_supplicant/dbus/dbus_dict_helpers.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/wpa_supplicant/dbus/dbus_dict_helpers.c b/wpa_supplicant/dbus/dbus_dict_helpers.c
index b3aff40..d900487 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;
--
1.7.2.3
More information about the Hostap
mailing list