From: David Levine Date: Thu, 23 Oct 2008 18:14:52 +0000 (+0000) Subject: * sbr/m_getfld.c: in warning message, use NAMESZ-2 instead of X-Git-Tag: PRE_POSIX_CONVERSION~20 X-Git-Url: http://git.marmaro.de/?p=mmh;a=commitdiff_plain;h=3fcd202c63415345fbafe735a02cb040e3879aa9 * 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". --- 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; }