diff options
author | Cosimo Alfarano <cosimo.alfarano@collabora.co.uk> | 2011-07-12 15:56:43 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-07-12 18:36:40 +0100 |
commit | f997b0ac485b3cf9c95b0f45c9a49662b15185f1 (patch) | |
tree | fa6c0e5764f1196a6c797068b2388c393ca34369 /tools | |
parent | cb843a564382e330d04059242d77876b6306381c (diff) | |
download | dbus-f997b0ac485b3cf9c95b0f45c9a49662b15185f1.tar.gz |
Fix dbus-monitor using eavesdrop=true when no filters are passed
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/dbus-monitor.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/dbus-monitor.c b/tools/dbus-monitor.c index ba9f9cc1..e187ee4d 100644 --- a/tools/dbus-monitor.c +++ b/tools/dbus-monitor.c @@ -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; |