X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Frcvpack.c;h=a7601776371891770e172e2d5fd6e4035fe16e3f;hp=1520cbe147879e6612efc4ae98493495d1f09039;hb=8f4c5da8971926f7eccc912f7998c343aef3c33b;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b diff --git a/uip/rcvpack.c b/uip/rcvpack.c index 1520cbe..a760177 100644 --- a/uip/rcvpack.c +++ b/uip/rcvpack.c @@ -8,8 +8,8 @@ #include #include #include -#include -#include +#include +#include static struct swit switches[] = { #define MBOXSW 0 @@ -19,7 +19,7 @@ static struct swit switches[] = { #define VERSIONSW 2 { "version", 0 }, #define HELPSW 3 - { "help", 4 }, + { "help", 0 }, { NULL, 0 } }; @@ -99,5 +99,5 @@ main (int argc, char **argv) if (mbx_close (file, md) == NOTOK) done (RCV_MBX); - done (RCV_MOK); + return done (RCV_MOK); }