closes branch srvctrl srvctrl

Mon, 06 Mar 2017 17:30:52 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Mon, 06 Mar 2017 17:30:52 +0100
branch
srvctrl
changeset 178
4760f7f1b197
parent 177
f144b60c71b1
child 179
ef6827505bd2

closes branch srvctrl

src/server/daemon/srvctrl.c file | annotate | diff | comparison | revisions
--- a/src/server/daemon/srvctrl.c	Mon Mar 06 17:19:25 2017 +0100
+++ b/src/server/daemon/srvctrl.c	Mon Mar 06 17:30:52 2017 +0100
@@ -187,6 +187,10 @@
         }
     } else if(!sstrcmp(cmd, S("shutdown"))) {
         webserver_shutdown();
+    } else if(!sstrcmp(cmd, S("stat"))) {
+        // TODO: implement
+    } else if(!sstrcmp(cmd, S("log"))) {
+        return 0;
     } else {
         log_ereport(
                 LOG_FAILURE,

mercurial