X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmark.c;h=6ffc2b1a60d28ab6a3f69ac4bf0c85887a608a22;hb=2d3d6cb7011b7fe432ffda2889e1f27860c49f37;hp=4799b238214270edbae4e80ad3fb3de02f521a93;hpb=0569d6d1631dc90d4f2f2df6bdd0599c7ecc7814;p=mmh diff --git a/uip/mark.c b/uip/mark.c index 4799b23..6ffc2b1 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]; @@ -228,7 +226,8 @@ main (int argc, char **argv) context_replace (pfolder, folder); /* update current folder */ context_save (); /* save the context file */ folder_free (mp); /* free folder/message structure */ - return done (0); + done (0); + return 1; }