From 2b275bebdf4c5a9c85dfe847279b9bb68fc22cb7 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 5 Oct 2006 14:01:47 +0000 Subject: Make audit queuing more sensible with many devices around --- hcid/dbus-common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hcid/dbus-common.c') diff --git a/hcid/dbus-common.c b/hcid/dbus-common.c index b1ece10d..74e2d3ae 100644 --- a/hcid/dbus-common.c +++ b/hcid/dbus-common.c @@ -219,8 +219,6 @@ int name_listener_add(DBusConnection *connection, const char *name, char match_string[128]; int first; - debug("name_listener_add(%s)", name); - if (!name_listener_initialized) { if (!dbus_connection_add_filter(connection, name_exit_filter, NULL, NULL)) { error("dbus_connection_add_filter() failed"); @@ -235,6 +233,8 @@ int name_listener_add(DBusConnection *connection, const char *name, if (!first) return 0; + debug("name_listener_add(%s)", name); + snprintf(match_string, sizeof(match_string), "interface=%s,member=NameOwnerChanged,arg0=%s", DBUS_INTERFACE_DBUS, name); -- cgit