From: Ken Hornstein Date: Wed, 13 Apr 2011 14:50:49 +0000 (-0400) Subject: Whoops, user & port were in the wrong order so msgchk didn't work for POP X-Git-Tag: mmh-start X-Git-Url: http://git.marmaro.de/?p=mmh;a=commitdiff_plain;h=a01a41d031c796b526329a4170eb23f0ac93b949;hp=d9bed5c7b73965ffdc48176825690b94f096ec3b Whoops, user & port were in the wrong order so msgchk didn't work for POP connections. --- diff --git a/uip/msgchk.c b/uip/msgchk.c index 03525c8..9b56649 100644 --- a/uip/msgchk.c +++ b/uip/msgchk.c @@ -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);