From 060061a7c8f7e9578e359af3f9c18ac66af24de0 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 17 Nov 1998 16:45:10 +0000 Subject: Postmaster option fix. svn path=/trunk/; revision=2184 --- NEWS | 3 +++ fetchmail.c | 2 ++ options.c | 1 + 3 files changed, 6 insertions(+) diff --git a/NEWS b/NEWS index 87e551e2..93a635c4 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,9 @@ fetchmail-4.6.7 (): * Gerald Britton's patches to enable Hesiod support. +* Postmater option fix from Bill Metzenthen . + +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) diff --git a/options.c b/options.c index 310ec24b..41925c68 100644 --- a/options.c +++ b/options.c @@ -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: -- cgit v1.2.3