From a01a41d031c796b526329a4170eb23f0ac93b949 Mon Sep 17 00:00:00 2001 From: Ken Hornstein Date: Wed, 13 Apr 2011 10:50:49 -0400 Subject: [PATCH] Whoops, user & port were in the wrong order so msgchk didn't work for POP connections. --- uip/msgchk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 1.7.10.4