X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0a032eea07f6d77ac6ea4d5a39c9491c34358058..63621a81d16ab743de6b57d47578a9a2c670ad22:/uip/mark.c diff --git a/uip/mark.c b/uip/mark.c index 6dce0a82..0b17b862 100644 --- a/uip/mark.c +++ b/uip/mark.c @@ -1,5 +1,4 @@ -/* - * mark.c -- add message(s) to sequences in given folder +/* mark.c -- add message(s) to sequences in given folder * -- delete messages (s) from sequences in given folder * -- list sequences in given folder * @@ -10,6 +9,7 @@ #include #include +#include "sbr/m_maildir.h" #define MARK_SWITCHES \ X("add", 0, ADDSW) \ @@ -120,10 +120,9 @@ main (int argc, char **argv) if (*cp == '+' || *cp == '@') { if (folder) adios (NULL, "only one folder at a time!"); - else - folder = pluspath (cp); + folder = pluspath (cp); } else - app_msgarg(&msgs, cp); + app_msgarg(&msgs, cp); } /* @@ -245,7 +244,7 @@ print_debug (struct msgs *mp) /* * Print debugging info about all the SELECTED * messages and the sequences they are in. - * Due limitattions of snprintb(), only a limited + * Due to limitations of snprintb(), only a limited * number of sequences will be printed. See the * comments in sbr/seq_bits.c. */ @@ -260,7 +259,7 @@ seq_printdebug (struct msgs *mp) if (is_selected (mp, msgnum)) printf ("%*d: %s\n", DMAXFOLDER, msgnum, snprintb (buf, sizeof buf, - (unsigned) *bvector_bits (msgstat (mp, msgnum)), + (unsigned) bvector_first_bits (msgstat (mp, msgnum)), seq_bits (mp))); } }