X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Frcvpack.c;h=410267b6d7dccc460f023a5aa20f6b7cfd5da893;hp=1520cbe147879e6612efc4ae98493495d1f09039;hb=389877bae1fe1a9f7259b8979f6a930744d90fab;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b diff --git a/uip/rcvpack.c b/uip/rcvpack.c index 1520cbe..410267b 100644 --- a/uip/rcvpack.c +++ b/uip/rcvpack.c @@ -3,13 +3,17 @@ * rcvpack.c -- append message to a file * * $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 #include #include -#include -#include +#include +#include static struct swit switches[] = { #define MBOXSW 0 @@ -19,7 +23,7 @@ static struct swit switches[] = { #define VERSIONSW 2 { "version", 0 }, #define HELPSW 3 - { "help", 4 }, + { "help", 0 }, { NULL, 0 } }; @@ -99,5 +103,5 @@ main (int argc, char **argv) if (mbx_close (file, md) == NOTOK) done (RCV_MBX); - done (RCV_MOK); + return done (RCV_MOK); }