summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-common.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2006-10-05 14:01:47 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2006-10-05 14:01:47 +0000
commit2b275bebdf4c5a9c85dfe847279b9bb68fc22cb7 (patch)
tree719b2348d194264622e4be866335355d6b2cc3e4 /hcid/dbus-common.c
parent7e67b8266268dde84711740bceb373c4c271f3eb (diff)
Make audit queuing more sensible with many devices around
Diffstat (limited to 'hcid/dbus-common.c')
-rw-r--r--hcid/dbus-common.c4
1 files changed, 2 insertions, 2 deletions
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);