2004-10-29 Colin Walters <walters@redhat.com>
authorColin Walters <walters@verbum.org>
Fri, 29 Oct 2004 18:13:53 +0000 (18:13 +0000)
committerColin Walters <walters@verbum.org>
Fri, 29 Oct 2004 18:13:53 +0000 (18:13 +0000)
Patch from Matthew Rickard <mjricka@epoch.ncsc.mil>

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

ChangeLog
bus/services.c

index fe70965..393de4f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,12 @@
-2004-10-29 Colin Walters  <walters@redhat.com>
+2004-10-29  Colin Walters  <walters@redhat.com>
+
+       Patch from Matthew Rickard <mjricka@epoch.ncsc.mil>
+
+       * bus/services.c (bus_registry_acquire_service): 
+       Correctly retrieve service name from DBusString
+       for printing.
+
+2004-10-29  Colin Walters  <walters@redhat.com>
 
        * dbus/dbus-glib.h: Update documentation to not
        refer to internal APIs.
index 0ba3225..fb27ea0 100644 (file)
@@ -318,7 +318,7 @@ bus_registry_acquire_service (BusRegistry      *registry,
                       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_registry_acquire_service (BusRegistry      *registry,
                       bus_connection_is_active (connection) ?
                       bus_connection_get_name (connection) :
                       "(inactive)",
-                     service_name);
+                      _dbus_string_get_const_data (service_name));
       goto out;
     }