aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-11-17 16:45:10 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-11-17 16:45:10 +0000
commit060061a7c8f7e9578e359af3f9c18ac66af24de0 (patch)
tree18fdb6109aeac3d6bda9aa010501c7064b4103c4
parent0d956b2fa9e3dc4a72cfba11b8fb05de03100b82 (diff)
downloadfetchmail-060061a7c8f7e9578e359af3f9c18ac66af24de0.tar.gz
fetchmail-060061a7c8f7e9578e359af3f9c18ac66af24de0.tar.bz2
fetchmail-060061a7c8f7e9578e359af3f9c18ac66af24de0.zip
Postmaster option fix.
svn path=/trunk/; revision=2184
-rw-r--r--NEWS3
-rw-r--r--fetchmail.c2
-rw-r--r--options.c1
3 files changed, 6 insertions, 0 deletions
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 <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)
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: