]> diplodocus.org Git - nmh/blobdiff - sbr/m_gmprot.c
Fix invalid pointer arithmetic.
[nmh] / sbr / m_gmprot.c
index d7aec6f323bd453bc4d0f2e201e4a7c3d6d1b702..534ff02b8afea1711e68dde1d13017983526a098 100644 (file)
@@ -1,8 +1,4 @@
-
-/*
- * m_gmprot.c -- return the msg-protect value
- *
- * $Id$
+/* m_gmprot.c -- return the msg-protect value
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
@@ -15,7 +11,7 @@
 int
 m_gmprot (void)
 {
-    register char *cp;
+    char *cp;
 
     return atooi ((cp = context_find ("msg-protect")) && *cp ? cp : msgprot);
 }