]> andersk Git - moira.git/blobdiff - server/mr_shutdown.c
Remove `delete_user_by_uid' since it's never been used in any logs we have,
[moira.git] / server / mr_shutdown.c
index 053735f4239135cff4508ea76f83c1a000fdb2f4..a32f7d4dbafab78abdce99aad600f142a106e1b0 100644 (file)
@@ -4,37 +4,23 @@
  *     $Header$
  *
  *     Copyright (C) 1987 by the Massachusetts Institute of Technology
+ *     For copying and distribution information, please see the file
+ *     <mit-copyright.h>.
  *
- *     $Log$
- *     Revision 1.4  1987-09-11 15:33:11  wesommer
- *     Disable shutdowns completely.
- *
- * Revision 1.4  87/09/09  01:43:11  wesommer
- * Disable server shutdown request.
- * 
- * Revision 1.3  87/08/04  02:41:29  wesommer
- * Clean up messages.
- * 
- * Revision 1.2  87/06/21  16:42:12  wesommer
- * Performance work, rearrangement of include files.
- * 
- * Revision 1.1  87/06/02  20:07:18  wesommer
- * Initial revision
- * 
  */
 
 #ifndef lint
 static char *rcsid_sms_shutdown_c = "$Header$";
 #endif lint
 
-#include <strings.h>
+#include <mit-copyright.h>
 #include <sys/errno.h>
-#include "sms_server.h"
+#include "mr_server.h"
 
 extern char *takedown;
 extern char *whoami;
 
-sigshut()
+void sigshut(int sig)
 {
        takedown = "Shut down by signal.";
 }
@@ -43,12 +29,11 @@ void
 do_shutdown(cl)
        client *cl;
 {
-       static char buf[BUFSIZ];
        /*
         * This feature is no longer supported.  Sorry.
         */
        com_err(whoami, 0, "Shutdown request by %s rejected",
                cl->clname);
-       cl->reply.sms_status = EACCES;
+       cl->reply.mr_status = EACCES;
 }
                
This page took 0.068163 seconds and 4 git commands to generate.