aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorkremlin- <ian@kremlin.cc>2014-06-05 12:18:53 +0800
committerkremlin- <ian@kremlin.cc>2014-06-05 12:18:53 +0800
commite8c57a5d0424286741347516090b22935fa43ebb (patch)
tree4163e82848876210e64b8ff297b545f06063066f /src/main.c
parent2ec2eead4345d7e4576b4acad0355b20223c8dc5 (diff)
downloadsystembsd-e8c57a5d0424286741347516090b22935fa43ebb.tar
systembsd-e8c57a5d0424286741347516090b22935fa43ebb.tar.gz
systembsd-e8c57a5d0424286741347516090b22935fa43ebb.tar.bz2
systembsd-e8c57a5d0424286741347516090b22935fa43ebb.tar.lz
systembsd-e8c57a5d0424286741347516090b22935fa43ebb.tar.xz
systembsd-e8c57a5d0424286741347516090b22935fa43ebb.tar.zst
systembsd-e8c57a5d0424286741347516090b22935fa43ebb.zip
syncing between computers..
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 5 insertions, 1 deletions
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;
}