diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-01-30 04:04:46 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-01-30 04:04:46 +0000 |
commit | b3019b2b1040fb6f2e26be165cd46832de702555 (patch) | |
tree | b6494d6958f6362225f25ec1dac27f8b23cc9f50 /fetchmail.c | |
parent | 1c96cabbb2eae8a779aab3d13c9795381382a700 (diff) | |
download | fetchmail-b3019b2b1040fb6f2e26be165cd46832de702555.tar.gz fetchmail-b3019b2b1040fb6f2e26be165cd46832de702555.tar.bz2 fetchmail-b3019b2b1040fb6f2e26be165cd46832de702555.zip |
Prevent a core-dump bug.
svn path=/trunk/; revision=840
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fetchmail.c b/fetchmail.c index 46c77799..75d9e542 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -582,7 +582,7 @@ static int load_params(int argc, char **argv, int optind) { ctl->uid = pw->pw_uid; /* for local delivery via MDA */ if (!ctl->localnames) /* for local delivery via SMTP */ - save_str(&ctl->localnames, -1, user); + save_str_pair(&ctl->localnames, user, NULL); } #if !defined(HAVE_GETHOSTBYNAME) || !defined(HAVE_RES_SEARCH) |