]> diplodocus.org Git - nmh/commitdiff
In InitMultiPart(), always set bogus_mp_content if boundaries
authorDavid Levine <levinedl@acm.org>
Sat, 16 Feb 2013 14:19:45 +0000 (08:19 -0600)
committerDavid Levine <levinedl@acm.org>
Sat, 16 Feb 2013 14:19:45 +0000 (08:19 -0600)
don't match.

uip/mhparse.c

index dd7c83d..69d2f2c 100644 (file)
@@ -1247,11 +1247,11 @@ end_part:
        }
     }
 
        }
     }
 
-    if (suppress_bogus_mp_content_warning) {
-        bogus_mp_content = 1;
-    } else {
+    if (! suppress_bogus_mp_content_warning) {
         advise (NULL, "bogus multipart content in message %s", ct->c_file);
     }
         advise (NULL, "bogus multipart content in message %s", ct->c_file);
     }
+    bogus_mp_content = 1;
+
     if (!inout && part) {
        p = part->mp_part;
        p->c_end = ct->c_end;
     if (!inout && part) {
        p = part->mp_part;
        p->c_end = ct->c_end;