From 10c91f6e846d9ec279218280b4258badffd984e8 Mon Sep 17 00:00:00 2001 From: Joel Reicher Date: Tue, 10 Apr 2007 03:32:48 +0000 Subject: [PATCH] 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 --- uip/mhparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 1.7.10.4