2 * (c) 2011 by Art Cancro and citadel.org
3 * This program is released under the terms of the GNU General Public License v3.
8 int cmd_shutdown(int server_socket, char *cmdbuf) {
11 char *p1 = readline("Do you really want to shut down the Citadel server? ");
13 if (strncasecmp(p1, "y", 1)) {
18 sock_getln(server_socket, buf, sizeof buf);
20 fprintf(stderr, "%s\n", &buf[4]);
24 fprintf(stderr, "%s\n", &buf[4]);