]> Pileus Git - ~andy/fetchmail/commitdiff
Bug fix for Ken Estes.
authorEric S. Raymond <esr@thyrsus.com>
Thu, 26 Nov 1998 06:17:14 +0000 (06:17 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 26 Nov 1998 06:17:14 +0000 (06:17 -0000)
svn path=/trunk/; revision=2212

sink.c

diff --git a/sink.c b/sink.c
index d21a10b3aca4f9aab18d4324c78eba3f0b585bff..ad9b02407963fc905ffbdaeb261d4c9ad7f925fa 100644 (file)
--- a/sink.c
+++ b/sink.c
@@ -862,8 +862,16 @@ int open_warning_by_mail(struct query *ctl)
     struct msgblk msg = {NULL, NULL, "FETCHMAIL-DAEMON", 0};
 
     if (!MULTIDROP(ctl))
+    {
        msg.recipients = ctl->localnames;
 
+       /*
+        * Ick. This could get us in trouble someday, but
+        * it's necessary in order to fool open_sink().
+        */
+       msg.recipients->val.status.mark = XMIT_ACCEPT;
+    }
+
     return(open_sink(ctl, &msg, &good, &bad));
 }