From: Joel Reicher Date: Tue, 10 Apr 2007 03:32:48 +0000 (+0000) Subject: Application of patch #5218: patch for bug #9742. Fixes a typo in the X-Git-Tag: nmh-1_3_RC1~23 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=10c91f6e846d9ec279218280b4258badffd984e8;p=mmh 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 --- diff --git a/uip/mhparse.c b/uip/mhparse.c index 8d3397e..fea9904 100644 --- a/uip/mhparse.c +++ b/uip/mhparse.c @@ -1112,7 +1112,7 @@ last_part: 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;