X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fseq_getnum.c;h=c5ff8b40f98cd4c6431689f43694a893c3a25b34;hb=b067ff5c465a5d243ce5a19e562085a9a1a97215;hp=c44f1775b68ffd7fca1e1f0f7123f9393c269cdf;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b;p=mmh diff --git a/sbr/seq_getnum.c b/sbr/seq_getnum.c index c44f177..c5ff8b4 100644 --- a/sbr/seq_getnum.c +++ b/sbr/seq_getnum.c @@ -1,9 +1,10 @@ - /* * seq_getnum.c -- find the index for a sequence * -- return -1 if sequence doesn't exist * - * $Id$ + * 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 @@ -12,11 +13,11 @@ int seq_getnum (struct msgs *mp, char *seqname) { - int i; + int i; - for (i = 0; mp->msgattrs[i]; i++) - if (!strcmp (mp->msgattrs[i], seqname)) - return i; + for (i = 0; mp->msgattrs[i]; i++) + if (!strcmp (mp->msgattrs[i], seqname)) + return i; - return -1; + return -1; }