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 <johannes.berg@intel.com>
This commit is contained in:
Johannes Berg 2010-12-17 15:20:32 +02:00 committed by Jouni Malinen
parent 45fee6f090
commit a2810199ec

View 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;