comments and indent

This commit is contained in:
Jean-Francois Dockes 2018-11-22 14:41:06 +01:00
parent 385a7b9547
commit 9a9ce69647
2 changed files with 271 additions and 271 deletions

View File

@ -517,6 +517,9 @@ void MimeHandlerMail::walkmime(Binc::MimePart* doc, int depth)
filename = it->second; filename = it->second;
} }
// Note: I have never seen anything useful in the Content-Description field.
// So it's not processed. Use rfc2047 to decode if we ever do it.
if (doc->isMessageRFC822()) { if (doc->isMessageRFC822()) {
LOGDEB2("walkmime: message/RFC822 part\n"); LOGDEB2("walkmime: message/RFC822 part\n");
@ -651,4 +654,3 @@ void MimeHandlerMail::walkmime(Binc::MimePart* doc, int depth)
LOGDEB2("walkmime: out now: [" << out << "]\n"); LOGDEB2("walkmime: out now: [" << out << "]\n");
} }

View File

@ -24,16 +24,14 @@
#include "mimehandler.h" #include "mimehandler.h"
namespace Binc { namespace Binc {
class MimeDocument; class MimeDocument;
class MimePart; class MimePart;
} }
class MHMailAttach; class MHMailAttach;
/** /**
* Translate a mail folder file into internal documents (also works * Process a mail message (rfc822) into internal documents.
* for maildir files). This has to keep state while parsing a mail folder
* file.
*/ */
class MimeHandlerMail : public RecollFilter { class MimeHandlerMail : public RecollFilter {
public: public: