Commit b3112191 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

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

mailbox with "po:mailbox", the mailbox is everything after the "po:" prefix.
parent 222e97c1
...@@ -182,14 +182,9 @@ main (argc, argv) ...@@ -182,14 +182,9 @@ main (argc, argv)
#ifdef MAIL_USE_POP #ifdef MAIL_USE_POP
if (!strncmp (inname, "po:", 3)) if (!strncmp (inname, "po:", 3))
{ {
int status; char *user; int status;
for (user = &inname[strlen (inname) - 1]; user >= inname; user--) status = popmail (inname + 3, outname);
if (*user == ':')
break;
user++;
status = popmail (user, outname);
exit (status); exit (status);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment