diff options
Diffstat (limited to 'mail/exim3/patches/patch-af')
-rw-r--r-- | mail/exim3/patches/patch-af | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/mail/exim3/patches/patch-af b/mail/exim3/patches/patch-af new file mode 100644 index 00000000000..532ba92caf7 --- /dev/null +++ b/mail/exim3/patches/patch-af @@ -0,0 +1,26 @@ +$NetBSD: patch-af,v 1.1.1.1 2003/12/04 04:24:51 grant Exp $ + +This patch is from: + + http://www.exim.org/pipermail/exim-announce/2003q3/000094.html + +--- src/smtp_in.c.orig 2002-04-04 22:56:20.000000000 +1000 ++++ src/smtp_in.c +@@ -2021,13 +2021,12 @@ while (done <= 0) + + if (!check_helo(smtp_data)) + { +- char *s; +- smtp_printf("501 syntactically invalid %s argument(s)\r\n", hello); +- if (*smtp_data == 0) strcpy(smtp_data, "(no argument given)"); +- s = string_printing(smtp_data); ++ smtp_printf("501 Syntactically invalid %s argument(s)\r\n", hello); + log_write(0, LOG_MAIN|LOG_REJECT, "rejected %s from %s: syntactically " + "invalid argument(s): %s", hello, +- (sender_fullhost == NULL)? "local process" : sender_fullhost, s); ++ (sender_fullhost == NULL)? "local process" : sender_fullhost, ++ (*smtp_data == 0)? "(no argument given)" : ++ string_printing(smtp_data)); + break; + } + |