diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-06-30 01:10:20 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-06-30 01:10:20 +0000 |
commit | 4e91be01cd2961e62d515837b2f4c101779da3f7 (patch) | |
tree | 883008fba186011e98a4a5ecd49022a3c9855aa7 /lib-src | |
parent | a6c522213600dfa5c1866daefaf03a2a8dd50066 (diff) | |
download | emacs-4e91be01cd2961e62d515837b2f4c101779da3f7.tar.gz |
(main) [MAIL_USE_POP]: When a user specifies a
mailbox with "po:mailbox", the mailbox is everything after the "po:" prefix.
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/movemail.c | 9 |
1 files changed, 2 insertions, 7 deletions
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); } |