fix case no "content-type" => do nothing

This commit is contained in:
2026-04-16 15:56:54 +02:00
parent 430317c1b9
commit bdddf71698
+4 -4
View File
@@ -193,10 +193,10 @@ main (int argc, char** argv) {
MainAttachment attachment (mbox); MainAttachment attachment (mbox);
mbox.close (); mbox.close ();
// if (attachment.getBoundary ().empty ()) { if (attachment.getBoundary ().empty ()) {
// cerr << "no attachment" << endl; cerr << "no attachment" << endl;
// return 1; return 1;
// } }
// parse structure // parse structure
mbox.open (inputName); mbox.open (inputName);
attachment.markSignificant (minAttachSize, mbox); attachment.markSignificant (minAttachSize, mbox);