diff options
author | kremlin- <ian@kremlin.cc> | 2014-06-05 12:18:53 +0800 |
---|---|---|
committer | kremlin- <ian@kremlin.cc> | 2014-06-05 12:18:53 +0800 |
commit | e8c57a5d0424286741347516090b22935fa43ebb (patch) | |
tree | 4163e82848876210e64b8ff297b545f06063066f /src/main.c | |
parent | 2ec2eead4345d7e4576b4acad0355b20223c8dc5 (diff) | |
download | systembsd-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.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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; } |