dbus-monitor: Keep term 'dest' in --monitor output in sync with related watch expression.
authorRalf Habacker <ralf.habacker@freenet.de>
Tue, 17 Feb 2015 07:26:54 +0000 (08:26 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 24 Feb 2015 13:30:23 +0000 (13:30 +0000)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=88896
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
[smcv: rebase onto differently indented version of previous commit]
Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
tools/dbus-print-message.c

index d598b53..4a2a9c8 100644 (file)
@@ -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)");