X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmsgchk.c;h=c7f32f5ba843325fed59e19c3b59b66e06db6b4b;hb=3865f55b4195bac67932ac3aacbd8f3c53239b62;hp=03525c87c54ca9df088e7e51324447e9902fae60;hpb=56f52a606b02d40fdc92b9012c7835679163cd5c;p=mmh diff --git a/uip/msgchk.c b/uip/msgchk.c index 03525c8..c7f32f5 100644 --- a/uip/msgchk.c +++ b/uip/msgchk.c @@ -96,7 +96,6 @@ main (int argc, char **argv) int datesw = 1, notifysw = NT_ALL; int status = 0, sasl = 0; int snoop = 0, vecp = 0; - uid_t uid; char *cp, *host = NULL, *port = NULL, *user, *proxy = NULL; char buf[BUFSIZ], *saslmech = NULL; char **argp, **arguments, *vec[MAXVEC]; @@ -116,7 +115,6 @@ main (int argc, char **argv) context_read(); mts_init (invo_name); - uid = getuid (); user = getusername(); arguments = getarguments (invo_name, argc, argv, 1); @@ -369,7 +367,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);