]> andersk Git - moira.git/commitdiff
Changed returned error code.
authorwesommer <wesommer>
Mon, 1 Jun 1987 04:34:27 +0000 (04:34 +0000)
committerwesommer <wesommer>
Mon, 1 Jun 1987 04:34:27 +0000 (04:34 +0000)
server/mr_main.c

index 360220d8bf1d779d68ae8f815854709b4f37e4ce..cb0b13b028fefb4fa332c78c6021d84211fb6fa4 100644 (file)
  *     Let the reader beware.
  * 
  *     $Log$
- *     Revision 1.2  1987-06-01 03:34:53  wesommer
- *     Added shutdown, logging.
+ *     Revision 1.3  1987-06-01 04:34:27  wesommer
+ *     Changed returned error code.
  *
+ * Revision 1.2  87/06/01  03:34:53  wesommer
+ * Added shutdown, logging.
+ * 
  * Revision 1.1  87/05/31  22:06:56  wesommer
  * Initial revision
  * 
@@ -293,7 +296,7 @@ do_shutdown(cl)
                sprintf(buf, "Unauthenticated shutdown request rejected",
                        cl->clname);
                com_err(whoami, 0, buf);
-               cl->reply.sms_status = EPERM;
+               cl->reply.sms_status = EACCES;
                return;
        }
        if (!strcmp(cl->clname, "wesommer@ATHENA.MIT.EDU") ||
@@ -307,7 +310,7 @@ do_shutdown(cl)
                sprintf(buf, "Shutdown request by %s rejected",
                        cl->clname);
                com_err(whoami, 0, buf);
-               cl->reply.sms_status = EPERM;
+               cl->reply.sms_status = EACCES;
        }
 }
                
This page took 0.09702 seconds and 5 git commands to generate.