From 3fcd202c63415345fbafe735a02cb040e3879aa9 Mon Sep 17 00:00:00 2001 From: David Levine Date: Thu, 23 Oct 2008 18:14:52 +0000 Subject: [PATCH] * sbr/m_getfld.c: in warning message, use NAMESZ-2 instead of NAMESZ-1 bytes because the message says "exceeds", not "is greater than or equal to". --- ChangeLog | 6 ++++++ sbr/m_getfld.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b486c5e..2ce209a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2008-10-23 David Levine + * sbr/m_getfld.c: in warning message, use NAMESZ-2 instead of + NAMESZ-1 bytes because the message says "exceeds", not + "is greater than or equal to". + +2008-10-23 David Levine + * docs/MAIL.FILTERING: added note on removing procmail -f or -r options to try to suppress generation of a "From " line on incoming messages. diff --git a/sbr/m_getfld.c b/sbr/m_getfld.c index bbf11fe..9424188 100644 --- a/sbr/m_getfld.c +++ b/sbr/m_getfld.c @@ -346,7 +346,7 @@ m_getfld (int state, unsigned char *name, unsigned char *buf, } if ((i -= j) <= 0) { *cp = *buf = 0; - advise (NULL, "field name \"%s\" exceeds %d bytes", name, NAMESZ - 1); + advise (NULL, "field name \"%s\" exceeds %d bytes", name, NAMESZ - 2); state = LENERR; goto finish; } -- 1.7.10.4