]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/shut.c
commands: Rename the command functions
[empserver] / src / lib / commands / shut.c
index d1fa6bd69da680ee52ca2f2de2594fe92f6f47ab..0b50ad29ef9396c6626a87df9e0e097a37621888 100644 (file)
@@ -39,7 +39,7 @@
 #include "server.h"
 
 int
-shut(void)
+c_shutdown(void)
 {
     int shutdown_minutes;
     int shutdown_was_pending;
@@ -56,7 +56,7 @@ shut(void)
        if (!p)
            return RET_SYN;
        if (*p != 'n')
-           disa();
+           c_disable();
     }
 
     shutdown_was_pending = shutdown_initiate(shutdown_minutes);