Application of patch #5218: patch for bug #9742. Fixes a typo in the
[mmh] / uip / mhparse.c
index 8d3397e..fea9904 100644 (file)
@@ -1112,7 +1112,7 @@ last_part:
        char partnam[BUFSIZ];
 
        if (ct->c_partno) {
        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;
            pp = partnam + strlen (partnam);
        } else {
            pp = partnam;