1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-07 15:00:34 -08:00

*** empty log message ***

This commit is contained in:
Richard M. Stallman 1992-05-07 20:13:17 +00:00
parent bc98c79cb7
commit cecf0f21e1

View file

@ -392,6 +392,7 @@ xmalloc (size)
#include <netinet/in.h>
#include <netdb.h>
#include <stdio.h>
#include <pwd.h>
#ifdef USG
#include <fcntl.h>
@ -427,6 +428,9 @@ popmail (user, outfile)
register int i;
int mbfi;
FILE *mbf;
struct passwd *pw = (struct passwd *) getpwuid (getuid ());
if (pw == NULL)
fatal ("cannot determine user name");
host = getenv ("MAILHOST");
if (host == NULL)
@ -445,7 +449,7 @@ popmail (user, outfile)
}
if (pop_command ("USER %s", user) == NOTOK
|| pop_command ("RPOP %s", user) == NOTOK)
|| pop_command ("RPOP %s", pw->pw_name) == NOTOK)
{
pop_command ("QUIT");
fatal (Errmsg);