summaryrefslogtreecommitdiffstats
path: root/hcid/main.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-02-17 15:20:51 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-02-17 15:20:51 +0000
commitea6e51d583bde53514e7589267ba55f55b8a23e6 (patch)
treeeb295d06b0413f4227e92065089ab1e5b5043fe3 /hcid/main.c
parent66988386d4c05270a03f93257fdbbeac9bf047f0 (diff)
Fix handling of D-Bus disconnect signal
Diffstat (limited to 'hcid/main.c')
-rw-r--r--hcid/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hcid/main.c b/hcid/main.c
index 2c307176..7ea829af 100644
--- a/hcid/main.c
+++ b/hcid/main.c
@@ -666,6 +666,7 @@ int main(int argc, char *argv[], char *env[])
set_title("processing events");
ctl_io = g_io_channel_unix_new(hcid.sock);
+
g_io_add_watch(ctl_io, G_IO_IN, io_stack_event, NULL);
/* Start event processor */