summaryrefslogtreecommitdiffstats
path: root/bus/bus.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-04-24 19:35:11 +0000
committerHavoc Pennington <hp@redhat.com>2003-04-24 19:35:11 +0000
commite8bf15b23a2a9c5b19ef25fb553006a41379bf7c (patch)
tree074ce3ddd02c11563a95f78f3ce9f4f40cb139c4 /bus/bus.c
parentc9cd648f115759176d35508e9007dc5520a0dd3f (diff)
2003-04-24 Havoc Pennington <hp@redhat.com>
* dbus/dbus-message.c (dbus_message_name_is): rename (dbus_message_service_is): rename (dbus_message_sender_is): rename (dbus_message_get_service): rename
Diffstat (limited to 'bus/bus.c')
-rw-r--r--bus/bus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bus/bus.c b/bus/bus.c
index 414f15e4..53ad8e65 100644
--- a/bus/bus.c
+++ b/bus/bus.c
@@ -889,7 +889,7 @@ bus_context_check_security_policy (BusContext *context,
context->registry, recipient,
message))
{
- const char *dest = dbus_message_get_service (message);
+ const char *dest = dbus_message_get_destination (message);
dbus_set_error (error, DBUS_ERROR_ACCESS_DENIED,
"A security policy in place prevents this sender "
"from sending this message to this recipient, "
@@ -905,7 +905,7 @@ bus_context_check_security_policy (BusContext *context,
context->registry, sender,
message))
{
- const char *dest = dbus_message_get_service (message);
+ const char *dest = dbus_message_get_destination (message);
dbus_set_error (error, DBUS_ERROR_ACCESS_DENIED,
"A security policy in place prevents this recipient "
"from receiving this message from this sender, "
@@ -921,7 +921,7 @@ bus_context_check_security_policy (BusContext *context,
dbus_connection_get_outgoing_size (recipient) >
context->max_outgoing_bytes)
{
- const char *dest = dbus_message_get_service (message);
+ const char *dest = dbus_message_get_destination (message);
dbus_set_error (error, DBUS_ERROR_LIMITS_EXCEEDED,
"The destination service \"%s\" has a full message queue",
dest ? dest : DBUS_SERVICE_DBUS);