diff options
-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: |