X-Git-Url: http://git.pond.sub.org/?p=empserver;a=blobdiff_plain;f=src%2Flib%2Fcommands%2Fshut.c;h=0b50ad29ef9396c6626a87df9e0e097a37621888;hp=d1fa6bd69da680ee52ca2f2de2594fe92f6f47ab;hb=7e6318500758d8ba99dca7dd9b95e3a8218699cb;hpb=af143ac5973d8b650e7a153372bd9da9e7546a76 diff --git a/src/lib/commands/shut.c b/src/lib/commands/shut.c index d1fa6bd69..0b50ad29e 100644 --- a/src/lib/commands/shut.c +++ b/src/lib/commands/shut.c @@ -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);