[libgnome-keyring] Fix variant array parsing.



commit eede36ad6f053da17a555630b0b4971e1bc745ab
Author: Stef Walter <stef memberwebs com>
Date:   Sat Dec 12 22:20:12 2009 +0000

    Fix variant array parsing.

 library/gnome-keyring.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/library/gnome-keyring.c b/library/gnome-keyring.c
index 14276b2..cc2d3fd 100644
--- a/library/gnome-keyring.c
+++ b/library/gnome-keyring.c
@@ -172,7 +172,7 @@ decode_property_variant_array (DBusMessage *reply, DecodeCallback callback,
 	g_assert (reply);
 	g_assert (callback);
 
-	if (dbus_message_has_signature (reply, "v"))
+	if (!dbus_message_has_signature (reply, "v"))
 		return decode_invalid_response (reply);
 
 	/* Iter to the variant */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]