summaryrefslogtreecommitdiffstats
path: root/input/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'input/main.c')
-rw-r--r--input/main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/input/main.c b/input/main.c
index bc7eb8e7..82e3b1b6 100644
--- a/input/main.c
+++ b/input/main.c
@@ -2,7 +2,7 @@
*
* BlueZ - Bluetooth protocol stack for Linux
*
- * Copyright (C) 2005-2006 Marcel Holtmann <marcel@holtmann.org>
+ * Copyright (C) 2004-2007 Marcel Holtmann <marcel@holtmann.org>
*
*
* This program is free software; you can redistribute it and/or modify
@@ -75,8 +75,12 @@ int main(int argc, char *argv[])
exit(1);
}
+ server_start();
+
g_main_loop_run(main_loop);
+ server_stop();
+
input_dbus_exit();
g_main_loop_unref(main_loop);