]> diplodocus.org Git - nmh/blobdiff - sbr/seq_nameok.c
- Fixed bcc to work with sendmail/pipe [Bug 55700].
[nmh] / sbr / seq_nameok.c
index 72b37fe1fdaf37043d9b432440d3e0a643642423..5fcc1a7fada04684f4d2a090a0338b5eb64204ed 100644 (file)
@@ -5,7 +5,8 @@
  * complete copyright information.
  */
 
-#include <h/mh.h>
+#include "h/mh.h"
+#include "seq_nameok.h"
 #include "error.h"
 
 
@@ -29,7 +30,7 @@ seq_nameok (char *s)
          strcmp (s, "last") &&
          strcmp (s, "prev") &&
          strcmp (s, "next"))) {
-       inform("illegal sequence name: %s", s);
+        inform("sequence name is reserved: %s", s);
        return 0;
     }
 
@@ -38,7 +39,7 @@ seq_nameok (char *s)
      * an alphabetic character ...
      */
     if (!isalpha ((unsigned char) *s)) {
-       inform("illegal sequence name: %s", s);
+        inform("sequence name must start with letter: %s", s);
        return 0;
     }
 
@@ -47,7 +48,7 @@ seq_nameok (char *s)
      */
     for (pp = s + 1; *pp; pp++)
        if (!isalnum ((unsigned char) *pp)) {
-           inform("illegal sequence name: %s", s);
+            inform("sequence name must be alphanumeric: %s", s);
            return 0;
        }