From b3b725b1137b61d786794f516ea07562cc34b220 Mon Sep 17 00:00:00 2001 From: "John (J5) Palmieri" Date: Fri, 11 Aug 2006 22:13:34 +0000 Subject: [PATCH] * fix typos in Julio's previous patch which cause make check to fail --- ChangeLog | 5 +++++ dbus/dbus-signature.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 893c296..5527506 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2006-08-10 John (J5) Palmieri + * dbus/dbus-signature.c: + fix typos in Julio's previous patch which cause make check to fail + +2006-08-10 John (J5) Palmieri + * dbus/dbus-address.c (_dbus_address_test): Revert leaking strcmp. In any case it was wrong since this is a test checking to see if address parsing is correct. There was no need to get the true diff --git a/dbus/dbus-signature.c b/dbus/dbus-signature.c index 9484c5f..2852ed4 100644 --- a/dbus/dbus-signature.c +++ b/dbus/dbus-signature.c @@ -445,17 +445,17 @@ _dbus_signature_test (void) 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)); -- 2.7.4