projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't fclose() the file twice in error-exit paths from get_content()
[mmh]
/
uip
/
popi.c
diff --git
a/uip/popi.c
b/uip/popi.c
index
afdd4fb
..
e26e346
100644
(file)
--- a/
uip/popi.c
+++ b/
uip/popi.c
@@
-80,7
+80,6
@@
static char mailname[BUFSIZ];
static char *nfs = NULL;
static struct msgs *mp;
static char *nfs = NULL;
static struct msgs *mp;
-extern int errno;
extern char response[];
/*
extern char response[];
/*
@@
-215,7
+214,7
@@
main (int argc, char **argv)
}
snprintf (mailname, sizeof(mailname), "PO box for %s@%s", user, host);
}
snprintf (mailname, sizeof(mailname), "PO box for %s@%s", user, host);
- if (pop_init (host, user, pass, snoop, rpop) == NOTOK)
+ if (pop_init (host, user, pass, NULL, snoop, rpop) == NOTOK)
adios (NULL, "%s", response);
if (rpop > 0)
setuid (getuid ());
adios (NULL, "%s", response);
if (rpop > 0)
setuid (getuid ());