aboutsummaryrefslogtreecommitdiffstats
path: root/sink.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-09-18 04:16:16 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-09-18 04:16:16 +0000
commitabf56645d3b47d6829ee648138b76f6525ad78ca (patch)
treeedfa97de8f8e0f75b589f2bc21b9ce8da4397729 /sink.c
parent5136c015f8ed33c373416e4e3e2583cac12a215a (diff)
downloadfetchmail-abf56645d3b47d6829ee648138b76f6525ad78ca.tar.gz
fetchmail-abf56645d3b47d6829ee648138b76f6525ad78ca.tar.bz2
fetchmail-abf56645d3b47d6829ee648138b76f6525ad78ca.zip
Before tckling the license problem.
svn path=/trunk/; revision=3462
Diffstat (limited to 'sink.c')
-rw-r--r--sink.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sink.c b/sink.c
index 3c19ed68..4fec6cb5 100644
--- a/sink.c
+++ b/sink.c
@@ -1139,20 +1139,20 @@ int open_warning_by_mail(struct query *ctl, struct msgblk *msg)
* it's worth to compute.
*/
struct msgblk reply = {NULL, NULL, "FETCHMAIL-DAEMON@", 0};
+ int status;
strcat(reply.return_path, fetchmailhost);
if (!MULTIDROP(ctl)) /* send to calling user */
{
- int status;
-
save_str(&reply.recipients, ctl->localnames->id, XMIT_ACCEPT);
status = open_sink(ctl, &reply, &good, &bad);
free_str_list(&reply.recipients);
- return(status);
}
else /* send to postmaster */
- return(open_sink(ctl, &reply, &good, &bad));
+ status = open_sink(ctl, &reply, &good, &bad);
+ stuff_warning(ctl, "Date: %s", rfc822timestamp());
+ return(status);
}
#if defined(HAVE_STDARG_H)