nmh-commits
[Top][All Lists]
Advanced

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

[Nmh-commits] nmh/uip mhparse.c


From: Joel Reicher
Subject: [Nmh-commits] nmh/uip mhparse.c
Date: Tue, 10 Apr 2007 03:32:48 +0000

CVSROOT:        /sources/nmh
Module name:    nmh
Changes by:     Joel Reicher <jjr>      07/04/10 03:32:48

Modified files:
        uip            : mhparse.c 

Log message:
        Application of patch #5218: patch for bug #9742. Fixes a typo in the
        size arg of snprintf(). mhlist output which used to have incorrect lines
        such as
             1.2   multipart/mixed            772
             1.21  text/plain                   9
             1.22  multipart/mixed            162
        now have the correct
             1.2   multipart/mixed            772
             1.2.1 text/plain                   9
             1.2.2 multipart/mixed            162

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/nmh/uip/mhparse.c?cvsroot=nmh&r1=1.14&r2=1.15

Patches:
Index: mhparse.c
===================================================================
RCS file: /sources/nmh/nmh/uip/mhparse.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- mhparse.c   8 Mar 2006 12:14:16 -0000       1.14
+++ mhparse.c   10 Apr 2007 03:32:48 -0000      1.15
@@ -2,7 +2,7 @@
 /*
  * mhparse.c -- routines to parse the contents of MIME messages
  *
- * $Id: mhparse.c,v 1.14 2006/03/08 12:14:16 bress Exp $
+ * $Id: mhparse.c,v 1.15 2007/04/10 03:32:48 jjr 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
@@ -1112,7 +1112,7 @@
        char partnam[BUFSIZ];
 
        if (ct->c_partno) {
-           snprintf (partnam, sizeof(partnum), "%s.", ct->c_partno);
+           snprintf (partnam, sizeof(partnam), "%s.", ct->c_partno);
            pp = partnam + strlen (partnam);
        } else {
            pp = partnam;




reply via email to

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