X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fpopi.c;h=953db14ced3bf7d95deeb30bc5cab74ab6b39eb6;hp=59ab61aead8d66bacfef2167d3e8ec3ce05e0d54;hb=4885712264980e6cbc2039f9158027bee9213475;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b diff --git a/uip/popi.c b/uip/popi.c index 59ab61a..953db14 100644 --- a/uip/popi.c +++ b/uip/popi.c @@ -3,12 +3,16 @@ * popi.c -- POP initiator for MPOP * * $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 #ifndef RPOP @@ -65,7 +69,7 @@ static struct swit switches[] = { #define VERSIONSW 13 { "version", 0 }, #define HELPSW 14 - { "help", 4 }, + { "help", 0 }, { NULL, 0 } }; @@ -76,7 +80,6 @@ static char mailname[BUFSIZ]; static char *nfs = NULL; static struct msgs *mp; -extern int errno; extern char response[]; /* @@ -255,9 +258,7 @@ main (int argc, char **argv) seq_setunseen (mp, 0); /* set the Unseen-Sequence */ seq_save (mp); context_save (); /* save the context file */ - done (0); - - /* NOTREACHED */ + return done (0); } @@ -517,7 +518,7 @@ msh (void) #ifdef SMTPMTS -#include +#include #include static int