X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmsgchk.c;h=9b56649a79f1b395e265ac6eb4931cd725b8bff2;hp=fa2336f9e540c60da399800bb898464565eb817f;hb=a01a41d031c796b526329a4170eb23f0ac93b949;hpb=c05210483d82bf5f3786725ff80e12444088a701 diff --git a/uip/msgchk.c b/uip/msgchk.c index fa2336f..9b56649 100644 --- a/uip/msgchk.c +++ b/uip/msgchk.c @@ -41,19 +41,19 @@ static struct swit switches[] = { { "host hostname", POPminc (-4) }, #define USERSW 5 { "user username", POPminc (-4) }, -#define PORTSW 8 +#define PORTSW 6 { "port name/number", POPminc(-4) }, -#define VERSIONSW 10 +#define VERSIONSW 7 { "version", 0 }, -#define HELPSW 11 +#define HELPSW 8 { "help", 0 }, -#define SNOOPSW 12 +#define SNOOPSW 9 { "snoop", -5 }, -#define SASLSW 14 +#define SASLSW 10 { "sasl", SASLminc(-4) }, -#define SASLMECHSW 15 +#define SASLMECHSW 11 { "saslmech", SASLminc(-5) }, -#define PROXYSW 16 +#define PROXYSW 12 { "proxy command", POPminc(-5) }, { NULL, 0 } }; @@ -369,7 +369,7 @@ remotemail (char *host, char *port, char *user, char *proxy, int notifysw, ruserpass (host, &user, &pass); /* open the POP connection */ - if (pop_init (host, user, port, pass, proxy, snoop, sasl, saslmech) == NOTOK + if (pop_init (host, port, user, pass, proxy, snoop, sasl, saslmech) == NOTOK || pop_stat (&nmsgs, &nbytes) == NOTOK /* check for messages */ || pop_quit () == NOTOK) { /* quit POP connection */ advise (NULL, "%s", response);