From f997b0ac485b3cf9c95b0f45c9a49662b15185f1 Mon Sep 17 00:00:00 2001 From: Cosimo Alfarano Date: Tue, 12 Jul 2011 15:56:43 +0100 Subject: [PATCH] Fix dbus-monitor using eavesdrop=true when no filters are passed Reviewed-by: Simon McVittie --- tools/dbus-monitor.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/dbus-monitor.c b/tools/dbus-monitor.c index ba9f9cc..e187ee4 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; -- 2.7.4