From e11c966b556e2410d3e7247e44b1079e08574d03 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 29 Oct 2004 18:13:53 +0000 Subject: [PATCH] 2004-10-29 Colin Walters Patch from Matthew Rickard * bus/services.c (bus_registry_acquire_service): Correctly retrieve service name from DBusString for printing. --- ChangeLog | 10 +++++++++- bus/services.c | 4 ++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index fe70965..393de4f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,12 @@ -2004-10-29 Colin Walters +2004-10-29 Colin Walters + + Patch from Matthew Rickard + + * bus/services.c (bus_registry_acquire_service): + Correctly retrieve service name from DBusString + for printing. + +2004-10-29 Colin Walters * dbus/dbus-glib.h: Update documentation to not refer to internal APIs. diff --git a/bus/services.c b/bus/services.c index 0ba3225..fb27ea0 100644 --- a/bus/services.c +++ b/bus/services.c @@ -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; } -- 2.7.4