diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-11-17 16:45:10 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-11-17 16:45:10 +0000 |
commit | 060061a7c8f7e9578e359af3f9c18ac66af24de0 (patch) | |
tree | 18fdb6109aeac3d6bda9aa010501c7064b4103c4 | |
parent | 0d956b2fa9e3dc4a72cfba11b8fb05de03100b82 (diff) | |
download | fetchmail-060061a7c8f7e9578e359af3f9c18ac66af24de0.tar.gz fetchmail-060061a7c8f7e9578e359af3f9c18ac66af24de0.tar.bz2 fetchmail-060061a7c8f7e9578e359af3f9c18ac66af24de0.zip |
Postmaster option fix.
svn path=/trunk/; revision=2184
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | fetchmail.c | 2 | ||||
-rw-r--r-- | options.c | 1 |
3 files changed, 6 insertions, 0 deletions
@@ -2,6 +2,9 @@ fetchmail-4.6.7 (): * Gerald Britton's patches to enable Hesiod support. +* Postmater option fix from Bill Metzenthen <billm@melbpc.org.au>. + +There are 248 people on fetchmail-friends and 306 on fetchmail-announce. fetchmail-4.6.6 (Sat Nov 7 17:27:04 EST 1998): * Fixed a core-dump bug in reply_hack with -v -v on. diff --git a/fetchmail.c b/fetchmail.c index e38273fe..f06f6f26 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -1067,6 +1067,8 @@ static int load_params(int argc, char **argv, int optind) run.invisible = cmd_run.invisible; if (cmd_run.use_syslog) run.use_syslog = (cmd_run.use_syslog == FLAG_TRUE); + if (cmd_run.postmaster) + run.postmaster = cmd_run.postmaster; /* check and daemon options are not compatible */ if (check_only && run.poll_interval) @@ -292,6 +292,7 @@ struct query *ctl; /* option record to be initialized */ break; case LA_POSTMASTER: rctl->postmaster = (char *) xmalloc(strlen(optarg)+1); + strcpy(rctl->postmaster,optarg); break; case 'p': case LA_PROTOCOL: |