summaryrefslogtreecommitdiffstats
path: root/bus/dispatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'bus/dispatch.c')
-rw-r--r--bus/dispatch.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/bus/dispatch.c b/bus/dispatch.c
index 2f865bf7..8b2ba08e 100644
--- a/bus/dispatch.c
+++ b/bus/dispatch.c
@@ -183,10 +183,14 @@ bus_dispatch (DBusConnection *connection,
{
if (!bus_context_check_security_policy (context,
connection, NULL, message, &error))
- goto out;
-
+ {
+ _dbus_verbose ("Security policy rejected message\n");
+ goto out;
+ }
+
+ _dbus_verbose ("Giving message to %s\n", DBUS_SERVICE_DBUS);
if (!bus_driver_handle_message (connection, transaction, message, &error))
- goto out;
+ goto out;
}
else if (!bus_connection_is_active (connection)) /* clients must talk to bus driver first */
{
@@ -249,6 +253,7 @@ bus_dispatch (DBusConnection *connection,
/* If we disconnected it, we won't bother to send it any error
* messages.
*/
+ _dbus_verbose ("Not sending error to connection we disconnected\n");
}
else if (dbus_error_has_name (&error, DBUS_ERROR_NO_MEMORY))
{