Whoops, user & port were in the wrong order so msgchk didn't work for POP
[mmh] / uip / msgchk.c
index 03525c8..9b56649 100644 (file)
@@ -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);