X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmark.c;h=22a12ee3588aa7282ff4482af37a7d97dc82dff9;hb=eabbcb91ae4e824930e9d9c9a206e40f0bdaf61f;hp=372568a0e6b637aa6e697b18ab9c8d535bb1b44c;hpb=38615191e71744b066425e0c44412b62dbe49cc2;p=mmh diff --git a/uip/mark.c b/uip/mark.c index 372568a..22a12ee 100644 --- a/uip/mark.c +++ b/uip/mark.c @@ -4,8 +4,6 @@ * -- delete messages (s) from sequences in given folder * -- list sequences in given folder * - * $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. @@ -51,8 +49,8 @@ int main (int argc, char **argv) { int addsw = 0, deletesw = 0, debugsw = 0; - int listsw = 0, publicsw = -1, zerosw = 0; - int seqp = 0, msgnum; + int listsw = 0, publicsw = -1, zerosw = 0, msgnum; + unsigned int seqp = 0; char *cp, *maildir, *folder = NULL, buf[BUFSIZ]; char **argp, **arguments; char *seqs[NUMATTRS + 1]; @@ -86,10 +84,10 @@ main (int argc, char **argv) snprintf (buf, sizeof(buf), "%s [+folder] [msgs] [switches]", invo_name); print_help (buf, switches, 1); - done (1); + done (0); case VERSIONSW: print_version(invo_name); - done (1); + done (0); case ADDSW: addsw++;