X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fseq_print.c;h=2db6656532dfcaa696b4f64137ec6e9193d54749;hb=b067ff5c465a5d243ce5a19e562085a9a1a97215;hp=81a1f5ca56de84768bc3cf9f29be87a463345583;hpb=6c42153ad9362cc676ea66563bf400d7511b3b68;p=mmh diff --git a/sbr/seq_print.c b/sbr/seq_print.c index 81a1f5c..2db6656 100644 --- a/sbr/seq_print.c +++ b/sbr/seq_print.c @@ -1,9 +1,6 @@ - /* * seq_print.c -- Routines to print sequence information. * - * $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. @@ -19,14 +16,15 @@ void seq_printall (struct msgs *mp) { - int i; - char *list; - - for (i = 0; mp->msgattrs[i]; i++) { - list = seq_list (mp, mp->msgattrs[i]); - printf ("%s%s: %s\n", mp->msgattrs[i], - is_seq_private (mp, i) ? " (private)" : "", empty(list)); - } + int i; + char *list; + + for (i = 0; mp->msgattrs[i]; i++) { + list = seq_list (mp, mp->msgattrs[i]); + printf ("%s%s: %s\n", mp->msgattrs[i], + is_seq_private (mp, i) ? " (private)" : "", + empty(list)); + } } @@ -36,15 +34,15 @@ seq_printall (struct msgs *mp) void seq_print (struct msgs *mp, char *seqname) { - int i; - char *list; + int i; + char *list; - /* get the index of sequence */ - i = seq_getnum (mp, seqname); + /* get the index of sequence */ + i = seq_getnum (mp, seqname); - /* get sequence information */ - list = seq_list (mp, seqname); + /* get sequence information */ + list = seq_list (mp, seqname); - printf ("%s%s: %s\n", seqname, - (i == -1) ? "" : is_seq_private(mp, i) ? " (private)" : "", empty(list)); + printf ("%s%s: %s\n", seqname, (i == -1) ? "" : + is_seq_private(mp, i) ? " (private)" : "", empty(list)); }