hal/hald hald_dbus.c,1.44,1.45

Kay Sievers kay at freedesktop.org
Thu Dec 8 14:12:42 PST 2005


Update of /cvs/hal/hal/hald
In directory gabe:/tmp/cvs-serv7910/hald

Modified Files:
	hald_dbus.c 
Log Message:
2005-12-08  Kay Sievers  <kay.sievers at vrfy.org>

        * hald/hald_dbus.c: (hald_exec_method):
        Correct error path.



Index: hald_dbus.c
===================================================================
RCS file: /cvs/hal/hal/hald/hald_dbus.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- hald_dbus.c	8 Dec 2005 21:51:29 -0000	1.44
+++ hald_dbus.c	8 Dec 2005 22:12:40 -0000	1.45
@@ -2667,7 +2667,7 @@
 		{
 			DBusMessageIter iter_strlist;
 			if (dbus_message_iter_get_element_type (&iter) != DBUS_TYPE_STRING)
-				return FALSE;
+				goto error;
 
 			dbus_message_iter_recurse (&iter, &iter_strlist);
 			while (dbus_message_iter_get_arg_type (&iter_strlist) == DBUS_TYPE_STRING) {




More information about the hal-commit mailing list