diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-10-05 15:43:33 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-10-05 15:43:33 +0000 |
commit | 2e0c31aeded014200b1d8f537e743e91bc16a10d (patch) | |
tree | 077cad669238bf1c8b1fe9f8592bc47bb75a1dc9 | |
parent | b798c2ba2cad0c6a249ec73e3ab016a8ce3dce38 (diff) | |
download | fetchmail-2e0c31aeded014200b1d8f537e743e91bc16a10d.tar.gz fetchmail-2e0c31aeded014200b1d8f537e743e91bc16a10d.tar.bz2 fetchmail-2e0c31aeded014200b1d8f537e743e91bc16a10d.zip |
Separate MDA expansion logic fronm the list build.
svn path=/trunk/; revision=227
-rw-r--r-- | fetchmail.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fetchmail.c b/fetchmail.c index ecb707c1..c91b10a0 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -151,7 +151,10 @@ char **argv; hostp->next = hostlist; hostlist = hostp; + } + /* expand MDA commands */ + for (hostp = hostlist; hostp; hostp = hostp->next) if (hostp->mda[0]) { int argi; @@ -176,7 +179,6 @@ char **argv; if ((argp = strrchr(hostp->mda_argv[1], '/')) != (char *)NULL) hostp->mda_argv[1] = argp + 1 ; } - } /* set up to do lock protocol */ if ((tmpdir = getenv("TMPDIR")) == (char *)NULL) |