]> andersk Git - moira.git/blobdiff - server/mr_shutdown.c
Command line printer manipulation client, and build goo.
[moira.git] / server / mr_shutdown.c
index 24fa88f4a0dde4c3a5db86c856609ce96c3504f8..4bf27a820c5b893480f87a135ab260143bc060bf 100644 (file)
@@ -1,22 +1,17 @@
-/*
- *     $Source$
- *     $Author$
- *     $Header$
- *
- *     Copyright (C) 1987 by the Massachusetts Institute of Technology
- *     For copying and distribution information, please see the file
- *     <mit-copyright.h>.
+/* $Id$
  *
+ * Copyright (C) 1987-1998 by the Massachusetts Institute of Technology
+ * For copying and distribution information, please see the file
+ * <mit-copyright.h>.
  */
 
-#ifndef lint
-static char *rcsid_sms_shutdown_c = "$Header$";
-#endif lint
-
 #include <mit-copyright.h>
-#include <sys/errno.h>
 #include "mr_server.h"
 
+#include <errno.h>
+
+RCSID("$Header$");
+
 extern char *takedown;
 extern char *whoami;
 
@@ -31,6 +26,6 @@ void do_shutdown(client *cl)
    * This feature is no longer supported.  Sorry.
    */
   com_err(whoami, 0, "Shutdown request by %s rejected", cl->clname);
-  cl->reply.mr_status = EACCES;
+  client_reply(cl, EACCES);
 }
 
This page took 0.072139 seconds and 4 git commands to generate.