From 019e4a7a2534812ab435d51fa979c4d69ac31ac5 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 --- 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 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; -- 1.7.5.4