X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fseq_nameok.c;h=e9598c062c0a88244085b0c57d0fe2aee55373ff;hp=e10ef92e75c38c2277e32d4a57d51697b9ba0d92;hb=ced6090a330d3d83d0bce709f756aa3d7d65fea4;hpb=337338b404931f06f0db2119c9e145e8ca5a9860 diff --git a/sbr/seq_nameok.c b/sbr/seq_nameok.c index e10ef92..e9598c0 100644 --- a/sbr/seq_nameok.c +++ b/sbr/seq_nameok.c @@ -1,10 +1,10 @@ /* - * seq_nameok.c -- check if a sequence name is ok - * - * This code is Copyright (c) 2002, by the authors of nmh. See the - * COPYRIGHT file in the root directory of the nmh distribution for - * complete copyright information. - */ +** seq_nameok.c -- check if a sequence name is ok +** +** This code is Copyright (c) 2002, by the authors of nmh. See the +** COPYRIGHT file in the root directory of the nmh distribution for +** complete copyright information. +*/ #include @@ -20,9 +20,9 @@ seq_nameok (unsigned char *s) } /* - * Make sure sequence name doesn't clash with one - * of the `reserved' sequence names. - */ + ** Make sure sequence name doesn't clash with one + ** of the `reserved' sequence names. + */ if (!(strcmp (s, "new") && strcmp (s, "all") && strcmp (s, "first") && @@ -34,17 +34,17 @@ seq_nameok (unsigned char *s) } /* - * First character in a sequence name must be - * an alphabetic character ... - */ + ** First character in a sequence name must be + ** an alphabetic character ... + */ if (!isalpha (*s)) { advise (NULL, "illegal sequence name: %s", s); return 0; } /* - * and can be followed by zero or more alphanumeric characters - */ + ** and can be followed by zero or more alphanumeric characters + */ for (pp = s + 1; *pp; pp++) if (!isalnum (*pp)) { advise (NULL, "illegal sequence name: %s", s);