dbus/bus services.c,1.24,1.25

Colin Walters walters at freedesktop.org
Fri Oct 29 11:13:55 PDT 2004


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

Modified Files:
	services.c 
Log Message:
2004-10-29  Colin Walters  <walters at redhat.com>

	Patch from Matthew Rickard <mjricka at epoch.ncsc.mil>

	* bus/services.c (bus_registry_acquire_service): 
	Correctly retrieve service name from DBusString
	for printing.


Index: services.c
===================================================================
RCS file: /cvs/dbus/dbus/bus/services.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- services.c	24 Sep 2004 10:43:35 -0000	1.24
+++ services.c	29 Oct 2004 18:13:53 -0000	1.25
@@ -318,7 +318,7 @@
                       bus_connection_is_active (connection) ?
                       bus_connection_get_name (connection) :
                       "(inactive)",
-		      service_name);
+                      _dbus_string_get_const_data (service_name));
       goto out;
     }
       
@@ -331,7 +331,7 @@
                       bus_connection_is_active (connection) ?
                       bus_connection_get_name (connection) :
                       "(inactive)",
-		      service_name);
+                      _dbus_string_get_const_data (service_name));
       goto out;
     }
 



More information about the dbus-commit mailing list