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)
12 char *p1 = readline("Do you really want to shut down the Citadel server? ");
14 if (strncasecmp(p1, "y", 1)) {
19 sock_getln(server_socket, buf, sizeof buf);
21 fprintf(stderr, "%s\n", &buf[4]);
22 return (cmdret_error);
25 fprintf(stderr, "%s\n", &buf[4]);