dbus/dbus dbus-bus.c,1.28,1.29

Olivier Andrieu oandrieu at pdx.freedesktop.org
Wed Jun 9 11:15:12 PDT 2004


Update of /cvs/dbus/dbus/dbus
In directory pdx:/tmp/cvs-serv15605/dbus

Modified Files:
	dbus-bus.c 
Log Message:
2004-06-09  Olivier Andrieu  <oliv__a at users.sourceforge.net>

	* bus/driver.c, dbus/dbus-bus.c: use BOOLEAN instead of UINT32 for
	the reply value of the ServiceExists message.


Index: dbus-bus.c
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-bus.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- a/dbus-bus.c	2 Dec 2003 10:44:21 -0000	1.28
+++ b/dbus-bus.c	9 Jun 2004 18:15:09 -0000	1.29
@@ -629,8 +629,6 @@
 /**
  * Checks whether a certain service exists.
  *
- * @todo the SERVICE_EXISTS message should use BOOLEAN not UINT32
- *
  * @param connection the connection
  * @param service_name the service name
  * @param error location to store any errors
@@ -677,7 +675,7 @@
     }
 
   if (!dbus_message_get_args (reply, error,
-                              DBUS_TYPE_UINT32, &exists,
+                              DBUS_TYPE_BOOLEAN, &exists,
                               DBUS_TYPE_INVALID))
     {
       _DBUS_ASSERT_ERROR_IS_SET (error);




More information about the dbus-commit mailing list