(main) [MAIL_USE_POP]: When a user specifies a

mailbox with "po:mailbox", the mailbox is everything after the "po:" prefix.
This commit is contained in:
Richard M. Stallman 1995-06-30 01:10:20 +00:00
parent 222e97c1b9
commit b311219135

View file

@ -182,14 +182,9 @@ main (argc, argv)
#ifdef MAIL_USE_POP
if (!strncmp (inname, "po:", 3))
{
int status; char *user;
int status;
for (user = &inname[strlen (inname) - 1]; user >= inname; user--)
if (*user == ':')
break;
user++;
status = popmail (user, outname);
status = popmail (inname + 3, outname);
exit (status);
}