From 55cd1268b3e7dc0b62030edcfeb952ff8f75b95e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Roberto=20de=20Souza?= Date: Tue, 11 Dec 2012 19:50:53 +0000 Subject: [PATCH] edbus: Fix signature check in edbus_message_iter_fixed_array_get() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Patch by: José Roberto de Souza SVN revision: 80697 --- legacy/edbus/src/lib/edbus_message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/edbus/src/lib/edbus_message.c b/legacy/edbus/src/lib/edbus_message.c index 29cc202..3df48be 100644 --- a/legacy/edbus/src/lib/edbus_message.c +++ b/legacy/edbus/src/lib/edbus_message.c @@ -645,7 +645,7 @@ edbus_message_iter_fixed_array_get(EDBus_Message_Iter *iter, int signature, void EINA_SAFETY_ON_TRUE_RETURN_VAL(iter->writable, EINA_FALSE); EINA_SAFETY_ON_FALSE_RETURN_VAL( - (dbus_message_iter_get_element_type(&iter->dbus_iterator) == signature), + (dbus_message_iter_get_arg_type(&iter->dbus_iterator) == signature), EINA_FALSE); dbus_message_iter_get_fixed_array(&iter->dbus_iterator, value, n_elements); return EINA_TRUE; -- 2.7.4