From 7d18c221428c5453225cda87945a7ec4f2e99651 Mon Sep 17 00:00:00 2001 From: dockes Date: Mon, 16 Nov 2009 16:10:31 +0000 Subject: [PATCH] reason msg --- src/internfile/mh_mail.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/internfile/mh_mail.cpp b/src/internfile/mh_mail.cpp index e31b26d2..0ba0e1e5 100644 --- a/src/internfile/mh_mail.cpp +++ b/src/internfile/mh_mail.cpp @@ -176,6 +176,9 @@ bool MimeHandlerMail::next_document() } m_idx++; m_havedoc = m_idx < (int)m_attachments.size(); + if (!m_havedoc) { + m_reason = "Subdocument index too high"; + } return res; }