X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fburst.c;h=4f654fbaade96b79f00e0f9bf4df615071a15065;hp=d13b0760bcade1bb8fdafda2031c1a106396335f;hb=017a82124bf2ea39ced5aa4c8f969c18b3c2fb90;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b diff --git a/uip/burst.c b/uip/burst.c index d13b076..4f654fb 100644 --- a/uip/burst.c +++ b/uip/burst.c @@ -23,7 +23,7 @@ static struct swit switches[] = { #define VERSIONSW 6 { "version", 0 }, #define HELPSW 7 - { "help", 4 }, + { "help", 0 }, { NULL, 0 } }; @@ -154,9 +154,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 +185,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); }