summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Shaw <joe@novell.com>2004-02-24 19:50:25 +0000
committerJoe Shaw <joe@novell.com>2004-02-24 19:50:25 +0000
commit19b53a0fe61973d8f9a8bbef812d35a1f179ae20 (patch)
tree605c751c20b63c5b60649144adfe81efc273d39c
parent1e310695d683560ab5e4318e01d1cc22ff1df8fc (diff)
2004-02-24 Joe Shaw <joe@ximian.com>
* bus/services.c (bus_registry_acquire_service): We need to pass in the service name to dbus_set_error() to prevent a crash.
-rw-r--r--ChangeLog5
-rw-r--r--bus/services.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cbd21b5..af872a9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-24 Joe Shaw <joe@ximian.com>
+
+ * bus/services.c (bus_registry_acquire_service): We need to pass
+ in the service name to dbus_set_error() to prevent a crash.
+
2003-12-26 Anders Carlsson <andersca@gnome.org>
* AUTHORS: Reveal my True identity.
diff --git a/bus/services.c b/bus/services.c
index dc251b9..ae7b783 100644
--- a/bus/services.c
+++ b/bus/services.c
@@ -299,7 +299,8 @@ bus_registry_acquire_service (BusRegistry *registry,
"to security policies in the configuration file",
bus_connection_is_active (connection) ?
bus_connection_get_name (connection) :
- "(inactive)");
+ "(inactive)",
+ service_name);
goto out;
}