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 <simon.mcvittie@collabora.co.uk>
[smcv: rebase onto differently indented version of previous commit]
Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
This commit is contained in:
Ralf Habacker 2015-02-17 08:26:54 +01:00 committed by Simon McVittie
parent 360a68eddd
commit 267ec3b8ad

View 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)");