nmh-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nmh-commits] nmh ChangeLog sbr/m_getfld.c


From: David Levine
Subject: [Nmh-commits] nmh ChangeLog sbr/m_getfld.c
Date: Thu, 23 Oct 2008 18:14:53 +0000

CVSROOT:        /sources/nmh
Module name:    nmh
Changes by:     David Levine <levine>   08/10/23 18:14:53

Modified files:
        .              : ChangeLog 
        sbr            : m_getfld.c 

Log message:
                * 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".

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/nmh/ChangeLog?cvsroot=nmh&r1=1.297&r2=1.298
http://cvs.savannah.gnu.org/viewcvs/nmh/sbr/m_getfld.c?cvsroot=nmh&r1=1.15&r2=1.16

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/nmh/nmh/ChangeLog,v
retrieving revision 1.297
retrieving revision 1.298
diff -u -b -r1.297 -r1.298
--- ChangeLog   23 Oct 2008 16:45:36 -0000      1.297
+++ ChangeLog   23 Oct 2008 18:14:52 -0000      1.298
@@ -1,5 +1,11 @@
 2008-10-23  David Levine <address@hidden>
 
+       * 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 <address@hidden>
+
        * docs/MAIL.FILTERING: added note on removing procmail -f or
        -r options to try to suppress generation of a "From " line on
        incoming messages.

Index: sbr/m_getfld.c
===================================================================
RCS file: /sources/nmh/nmh/sbr/m_getfld.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- sbr/m_getfld.c      13 Aug 2008 18:27:37 -0000      1.15
+++ sbr/m_getfld.c      23 Oct 2008 18:14:53 -0000      1.16
@@ -2,7 +2,7 @@
 /*
  * m_getfld.c -- read/parse a message
  *
- * $Id: m_getfld.c,v 1.15 2008/08/13 18:27:37 epg Exp $
+ * $Id: m_getfld.c,v 1.16 2008/10/23 18:14:53 levine Exp $
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
@@ -346,7 +346,7 @@
                }
                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;
                }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]