diff --git a/src/attachmentHelper.cpp b/src/attachmentHelper.cpp index 9c080472..a4970dd0 100644 --- a/src/attachmentHelper.cpp +++ b/src/attachmentHelper.cpp @@ -121,7 +121,7 @@ const std::vector > std::vector > partAtts = findAttachmentsInBodyPart(bdy->getPartAt(i)); - for (unsigned int j = 0 ; j < partAtts.size() ; ++i) + for (unsigned int j = 0 ; j < partAtts.size() ; ++j) atts.push_back(partAtts[j]); } }