X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fseq_setunseen.c;h=8c9fe41cf78125f224bb673b94e448bbbcf24a32;hp=a115564345c1dee2eee7efd5eddd93b9b885aae9;hb=ced6090a330d3d83d0bce709f756aa3d7d65fea4;hpb=337338b404931f06f0db2119c9e145e8ca5a9860 diff --git a/sbr/seq_setunseen.c b/sbr/seq_setunseen.c index a115564..8c9fe41 100644 --- a/sbr/seq_setunseen.c +++ b/sbr/seq_setunseen.c @@ -1,21 +1,21 @@ /* - * seq_setunseen.c -- add/delete all messages which have the SELECT_UNSEEN - * -- bit set to/from the Unseen-Sequence - * - * 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_setunseen.c -- add/delete all messages which have the SELECT_UNSEEN +** -- bit set to/from the Unseen-Sequence +** +** 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 /* - * We scan through the folder and act upon all messages - * that are marked with the SELECT_UNSEEN bit. - * - * If seen == 1, delete messages from unseen sequence. - * If seen == 0, add messages to unseen sequence. - */ +** We scan through the folder and act upon all messages +** that are marked with the SELECT_UNSEEN bit. +** +** If seen == 1, delete messages from unseen sequence. +** If seen == 0, add messages to unseen sequence. +*/ void seq_setunseen (struct msgs *mp, int seen) @@ -24,9 +24,9 @@ seq_setunseen (struct msgs *mp, int seen) char **ap, *cp, *dp; /* - * Get the list of sequences for Unseen-Sequence - * and split them. - */ + ** Get the list of sequences for Unseen-Sequence + ** and split them. + */ if ((cp = context_find (usequence))) { dp = getcpy (cp); if (!(ap = brkstring (dp, " ", "\n")) || !*ap) { @@ -38,9 +38,9 @@ seq_setunseen (struct msgs *mp, int seen) } /* - * Now add/delete each message which has the SELECT_UNSEEN - * bit set to/from each of these sequences. - */ + ** Now add/delete each message which has the SELECT_UNSEEN + ** bit set to/from each of these sequences. + */ for (; *ap; ap++) { if (seen) { /* make sure sequence exists first */