From: Ralf Habacker Date: Tue, 17 Feb 2015 07:26:54 +0000 (+0100) Subject: dbus-monitor: Keep term 'dest' in --monitor output in sync with related watch expression. X-Git-Tag: dbus-1.9.14~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=267ec3b8ad44e3ad0a27c46f547f3dbfc90ec2b9;p=thirdparty%2Fdbus.git dbus-monitor: Keep term 'dest' in --monitor output in sync with related watch expression. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=88896 Reviewed-by: Simon McVittie [smcv: rebase onto differently indented version of previous commit] Reviewed-by: Ralf Habacker --- diff --git a/tools/dbus-print-message.c b/tools/dbus-print-message.c index d598b5339..4a2a9c844 100644 --- a/tools/dbus-print-message.c +++ b/tools/dbus-print-message.c @@ -544,14 +544,14 @@ print_message (DBusMessage *message, dbus_bool_t literal, long sec, long usec) { if (sec != 0 || usec != 0) { - printf ("%s time=%ld.%06ld sender=%s -> dest=%s", + printf ("%s time=%ld.%06ld sender=%s -> destination=%s", type_to_name (message_type), sec, usec, sender ? sender : "(null sender)", destination ? destination : "(null destination)"); } else { - printf ("%s sender=%s -> dest=%s", + printf ("%s sender=%s -> destination=%s", type_to_name (message_type), sender ? sender : "(null sender)", destination ? destination : "(null destination)");