diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2007-03-10 19:52:30 +0000 |
---|---|---|
committer | Ralf Habacker <ralf.habacker@freenet.de> | 2007-03-10 19:52:30 +0000 |
commit | af4e4dc276dacde120a00952344dedc3976009db (patch) | |
tree | 6d6ed8b17c9bb3cceda8b385a244199f27c1bf8f | |
parent | d2a4955338a20e3eba0d8152e45e3f56a65b87ba (diff) | |
download | dbus-af4e4dc276dacde120a00952344dedc3976009db.tar.gz |
* tools/dbus-print-message.c (print_message): added printing of the reply serial to method returns and errors, so you can actually figure out the message/reply pairs - patch by olli.salli at collabora.co.uk.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | tools/dbus-print-message.c | 8 |
2 files changed, 12 insertions, 3 deletions
@@ -1,5 +1,12 @@ 2007-03-10 Ralf Habacker <ralf.habacker@freenet.de> + * tools/dbus-print-message.c (print_message): + added printing of the reply serial to method returns and + errors, so you can actually figure out the message/reply + pairs - patch by olli.salli at collabora.co.uk. + +2007-03-10 Ralf Habacker <ralf.habacker@freenet.de> + * dbus-win.patch: removed committed patches. 2007-03-10 Ralf Habacker <ralf.habacker@freenet.de> diff --git a/tools/dbus-print-message.c b/tools/dbus-print-message.c index bac538ec..bbc0d239 100644 --- a/tools/dbus-print-message.c +++ b/tools/dbus-print-message.c @@ -270,12 +270,14 @@ print_message (DBusMessage *message, dbus_bool_t literal) break; case DBUS_MESSAGE_TYPE_METHOD_RETURN: - printf ("\n"); + printf (" reply_serial=%u\n", + dbus_message_get_reply_serial (message)); break; case DBUS_MESSAGE_TYPE_ERROR: - printf (" error_name=%s\n", - dbus_message_get_error_name (message)); + printf (" error_name=%s reply_serial=%u\n", + dbus_message_get_error_name (message), + dbus_message_get_reply_serial (message)); break; default: |