X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;ds=sidebyside;f=uip%2Fburst.c;h=6b9be832e23dde23d9657761879c90677b480fa9;hb=6c42153ad9362cc676ea66563bf400d7511b3b68;hp=d13b0760bcade1bb8fdafda2031c1a106396335f;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b;p=mmh diff --git a/uip/burst.c b/uip/burst.c index d13b076..6b9be83 100644 --- a/uip/burst.c +++ b/uip/burst.c @@ -3,6 +3,10 @@ * burst.c -- explode digests into individual messages * * $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. */ #include @@ -23,7 +27,7 @@ static struct swit switches[] = { #define VERSIONSW 6 { "version", 0 }, #define HELPSW 7 - { "help", 4 }, + { "help", 0 }, { NULL, 0 } }; @@ -154,9 +158,11 @@ main (int argc, char **argv) numburst, numburst > 1 ? "s" : "", msgnum); burst (&mp, msgnum, smsgs, numburst, inplace, verbosw); } else { - if (numburst == 0) + if (numburst == 0) { if (!quietsw) - admonish (NULL, "message %d not in digest format", msgnum); + admonish (NULL, "message %d not in digest format", + msgnum); + } /* this pair of braces was missing before 1999-07-15 */ else adios (NULL, "burst() botch -- you lose big"); } @@ -183,7 +189,7 @@ main (int argc, char **argv) seq_save (mp); /* synchronize message sequences */ context_save (); /* save the context file */ folder_free (mp); /* free folder/message structure */ - done (0); + return done (0); }