mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-06 18:38:00 +02:00
Fix dbus-monitor using eavesdrop=true when no filters are passed
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
This commit is contained in:
parent
cb843a5643
commit
f997b0ac48
1 changed files with 4 additions and 4 deletions
|
|
@ -388,22 +388,22 @@ main (int argc, char *argv[])
|
|||
else
|
||||
{
|
||||
dbus_bus_add_match (connection,
|
||||
"type='signal'",
|
||||
EAVESDROPPING_RULE ",type='signal'",
|
||||
&error);
|
||||
if (dbus_error_is_set (&error))
|
||||
goto lose;
|
||||
dbus_bus_add_match (connection,
|
||||
"type='method_call'",
|
||||
EAVESDROPPING_RULE ",type='method_call'",
|
||||
&error);
|
||||
if (dbus_error_is_set (&error))
|
||||
goto lose;
|
||||
dbus_bus_add_match (connection,
|
||||
"type='method_return'",
|
||||
EAVESDROPPING_RULE ",type='method_return'",
|
||||
&error);
|
||||
if (dbus_error_is_set (&error))
|
||||
goto lose;
|
||||
dbus_bus_add_match (connection,
|
||||
"type='error'",
|
||||
EAVESDROPPING_RULE ",type='error'",
|
||||
&error);
|
||||
if (dbus_error_is_set (&error))
|
||||
goto lose;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue