From 3a468316c62172f89e3b4d2a9750c46466c7f477 Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Thu, 9 Dec 2010 01:31:54 +0100 Subject: [PATCH] gsupplicant: Support empty property set responses --- gsupplicant/dbus.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gsupplicant/dbus.c b/gsupplicant/dbus.c index 53c56ae..e014265 100644 --- a/gsupplicant/dbus.c +++ b/gsupplicant/dbus.c @@ -285,13 +285,11 @@ static void property_set_reply(DBusPendingCall *call, void *user_data) else error = NULL; - if (dbus_message_iter_init(reply, &iter) == FALSE) - goto done; + dbus_message_iter_init(reply, &iter); if (data->function != NULL) data->function(error, &iter, data->user_data); -done: dbus_message_unref(reply); dbus_pending_call_unref(call); -- 2.7.4