summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-05-09 09:06:10 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-05-09 09:06:10 +0000
commit0bd3de9823bac2481837c0e17b36b60d4b329224 (patch)
tree2ef779eef46e043a5be772b990f1df3529c89528
parent36b30565da2a137e3b0ae0012d846bce6c4c7457 (diff)
Add debug print to get better visibility of what methods are being called
-rw-r--r--common/dbus-helper.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/dbus-helper.c b/common/dbus-helper.c
index ba2db4d9..4d15f418 100644
--- a/common/dbus-helper.c
+++ b/common/dbus-helper.c
@@ -267,9 +267,12 @@ static DBusHandlerResult generic_message(DBusConnection *connection,
current->name))
continue;
- if (dbus_message_has_signature(message, current->signature))
+ if (dbus_message_has_signature(message, current->signature)) {
+ debug("%s: %s.%s()", dbus_message_get_path(message),
+ iface->name, current->name);
return current->message_function(connection,
message, data->user_data);
+ }
}
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;