dbus/dbus dbus-signature.c,1.8,1.9

John Palmieri johnp at kemper.freedesktop.org
Fri Aug 11 15:13:36 PDT 2006


Update of /cvs/dbus/dbus/dbus
In directory kemper:/tmp/cvs-serv22559/dbus

Modified Files:
	dbus-signature.c 
Log Message:
* fix typos in Julio's previous patch which cause make check to fail

Index: dbus-signature.c
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-signature.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- dbus-signature.c	10 Aug 2006 21:50:23 -0000	1.8
+++ dbus-signature.c	11 Aug 2006 22:13:34 -0000	1.9
@@ -445,17 +445,17 @@
   dbus_signature_iter_recurse (&iter, &subiter);
   dbus_signature_iter_recurse (&subiter, &subsubiter);
   _dbus_assert (dbus_signature_iter_get_current_type (&subsubiter) == DBUS_TYPE_INT16);
-  boolres = dbus_signature_iter_next (&subiter);
+  boolres = dbus_signature_iter_next (&subsubiter);
   _dbus_assert (boolres);
   _dbus_assert (dbus_signature_iter_get_current_type (&subsubiter) == DBUS_TYPE_STRING);
-  boolres = dbus_signature_iter_next (&subiter);
-  _dbus_assert (boolres);
+  boolres = dbus_signature_iter_next (&subsubiter);
+  _dbus_assert (!boolres);
 
   boolres = dbus_signature_iter_next (&iter);
   _dbus_assert (boolres);
   _dbus_assert (dbus_signature_iter_get_current_type (&iter) == DBUS_TYPE_VARIANT);
   boolres = dbus_signature_iter_next (&iter);
-  _dbus_assert (boolres);
+  _dbus_assert (!boolres);
 
   sig = DBUS_TYPE_DICT_ENTRY_AS_STRING;
   _dbus_assert (!dbus_signature_validate (sig, NULL));



More information about the dbus-commit mailing list