aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-10-25 20:57:12 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-10-25 20:57:12 +0000
commitc5b2532ace17da3e10429e80c1b5574e8b91f2e1 (patch)
treec02e702b6ad88469b7be05b286fb1a21f19564c3 /fetchmail.c
parentf61224f2f7195fc5795fd6f16c97e607fb976cc0 (diff)
downloadfetchmail-c5b2532ace17da3e10429e80c1b5574e8b91f2e1.tar.gz
fetchmail-c5b2532ace17da3e10429e80c1b5574e8b91f2e1.tar.bz2
fetchmail-c5b2532ace17da3e10429e80c1b5574e8b91f2e1.zip
Fix delivery to MDAs.
svn path=/trunk/; revision=384
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fetchmail.c b/fetchmail.c
index c585bd03..369bc63f 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -231,8 +231,7 @@ char **argv;
char *argp;
/* punch nulls into the delimiting whitespace in the args */
- hostp->mda_argcount = 0;
- for (argp = hostp->mdabuf, hostp->mda_argcount = 1; *argp != '\0'; hostp->mda_argcount++)
+ for (argp = hostp->mda, hostp->mda_argcount = 1; *argp != '\0'; hostp->mda_argcount++)
{
hostp->mda_argv[hostp->mda_argcount] = argp;
while (!(*argp == '\0' || isspace(*argp)))