From e8c57a5d0424286741347516090b22935fa43ebb Mon Sep 17 00:00:00 2001 From: kremlin- Date: Wed, 4 Jun 2014 23:18:53 -0500 Subject: syncing between computers.. --- src/main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 42a4779..c19b489 100644 --- a/src/main.c +++ b/src/main.c @@ -2,7 +2,11 @@ #include "interfaces/hostnamed/hostnamed.c" int main() { - hostnamed_init(); + GMainLoop *mloop = NULL; + mloop = g_main_loop_new(NULL, FALSE); + hostnamed_init(); + g_main_loop_run(mloop); + return 0; } -- cgit v1.2.3