fix case no "content-type" => do nothing
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user