mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-03-23 20:10:51 +01:00
* 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.
This commit is contained in:
parent
d2a4955338
commit
af4e4dc276
2 changed files with 12 additions and 3 deletions
|
|
@ -1,3 +1,10 @@
|
|||
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.
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue