]> andersk Git - moira.git/blame - server/mr_shutdown.c
Code style cleanup. (No functional changes)
[moira.git] / server / mr_shutdown.c
CommitLineData
a3cf6921 1/*
2 * $Source$
3 * $Author$
4 * $Header$
5 *
6 * Copyright (C) 1987 by the Massachusetts Institute of Technology
c801de4c 7 * For copying and distribution information, please see the file
8 * <mit-copyright.h>.
a3cf6921 9 *
a3cf6921 10 */
11
12#ifndef lint
13static char *rcsid_sms_shutdown_c = "$Header$";
14#endif lint
15
c801de4c 16#include <mit-copyright.h>
a3cf6921 17#include <sys/errno.h>
d548a4e7 18#include "mr_server.h"
a3cf6921 19
20extern char *takedown;
21extern char *whoami;
22
03c05291 23void sigshut(int sig)
a3cf6921 24{
5eaef520 25 takedown = "Shut down by signal.";
a3cf6921 26}
27
5eaef520 28void do_shutdown(client *cl)
a3cf6921 29{
5eaef520 30 /*
31 * This feature is no longer supported. Sorry.
32 */
33 com_err(whoami, 0, "Shutdown request by %s rejected", cl->clname);
34 cl->reply.mr_status = EACCES;
a3cf6921 35}
5eaef520 36
This page took 0.088296 seconds and 5 git commands to generate.