X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fap.c;h=85683f933601723eacc9e1e2f15885eda3367ba3;hp=7e16b926354d82963b521fa4551dbf21098fa8b8;hb=fb49dd82ec42997b9df97f221c920f6596102c0a;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b diff --git a/uip/ap.c b/uip/ap.c index 7e16b92..85683f9 100644 --- a/uip/ap.c +++ b/uip/ap.c @@ -3,11 +3,16 @@ * ap.c -- parse addresses 822-style * * $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 #define NADDRS 100 @@ -30,7 +35,7 @@ static struct swit switches[] = { #define VERSIONSW 5 { "version", 0 }, #define HELPSW 6 - { "help", 4 }, + { "help", 0 }, { NULL, 0 } }; @@ -146,7 +151,7 @@ main (int argc, char **argv) for (addrp = 0; addrs[addrp]; addrp++) status += process (addrs[addrp], width, normalize); - done (status); + return done (status); } struct pqpair {