From: Richard M. Stallman Date: Fri, 30 Jun 1995 01:10:20 +0000 (+0000) Subject: (main) [MAIL_USE_POP]: When a user specifies a X-Git-Tag: emacs-19.34~3417 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b31121913578aee6e3b13d76a804eb0a22f8d25d;p=emacs.git (main) [MAIL_USE_POP]: When a user specifies a mailbox with "po:mailbox", the mailbox is everything after the "po:" prefix. --- diff --git a/lib-src/movemail.c b/lib-src/movemail.c index ecab1a10014..252e9a923d3 100644 --- a/lib-src/movemail.c +++ b/lib-src/movemail.c @@ -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); }