minor, add a TODO to hostnamed.c i caught
authorkremlin <ian@kremlin.cc>
Tue, 5 Aug 2014 02:51:47 +0000 (21:51 -0500)
committerkremlin <ian@kremlin.cc>
Tue, 5 Aug 2014 02:51:47 +0000 (21:51 -0500)
bin/obj/.tmp
src/interfaces/hostnamed/hostnamed.c

index c26bd865a1d2cfc72a428a5ee3c6776bf9173381..a249d69f1bccd927d21ec51a3f3a48f05938968e 100644 (file)
@@ -1 +1 @@
-(git ignores empty dirs)
+(git something something)
index cf066b285d64914f04fb0c1689cc12bcefc75fcf..2eadbe8789450ba1ff7df798d15caa78ed116925 100644 (file)
@@ -253,6 +253,10 @@ void set_signal_handlers() {
        g_unix_signal_add(SIGINT,  unix_sig_terminate_handler, NULL);
        g_unix_signal_add(SIGHUP,  unix_sig_terminate_handler, NULL);
        g_unix_signal_add(SIGTERM, unix_sig_terminate_handler, NULL);
+
+       /* TODO: the "only once" guarantee only counts towards specific signals.
+        *       make sure calling a SIGINT and SIGHUP doesn't cause term_handler()
+        *       to be called twice */
 }
 
 int main() {