mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2025-12-25 01:10:14 +01:00
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:
parent
360a68eddd
commit
267ec3b8ad
1 changed files with 2 additions and 2 deletions
|
|
@ -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)");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue