dbus/bus test-main.c,1.20,1.21

Colin Walters walters at freedesktop.org
Wed Nov 3 08:38:37 PST 2004


Update of /cvs/dbus/dbus/bus
In directory gabe:/tmp/cvs-serv25766/bus

Modified Files:
	test-main.c 
Log Message:
2004-11-03  Colin Walters  <walters at verbum.org>

	* bus/test-main.c (test_pre_hook): Fix test logic,
	thanks Joerg Barfurth <Joerg.Barfurth at Sun.COM>.


Index: test-main.c
===================================================================
RCS file: /cvs/dbus/dbus/bus/test-main.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- test-main.c	2 Nov 2004 20:27:47 -0000	1.20
+++ test-main.c	3 Nov 2004 16:38:35 -0000	1.21
@@ -57,8 +57,8 @@
 {
   
   if (_dbus_getenv ("DBUS_TEST_SELINUX")
-      && !bus_selinux_pre_init ()
-      && !bus_selinux_full_init ())
+      && (!bus_selinux_pre_init ()
+	  || !bus_selinux_full_init ()))
     die ("could not init selinux support");
 }
 



More information about the dbus-commit mailing list