aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2005-12-20 11:48:43 +0000
committerVincent Richard <[email protected]>2005-12-20 11:48:43 +0000
commitd906896132f19642518ecd2def24fbcd598db583 (patch)
tree000fdbe0bdb9df7bbab30e3e8a0b7b0701e2ade2
parentCompatibility bugs in IMAP response parser. (diff)
downloadvmime-d906896132f19642518ecd2def24fbcd598db583.tar.gz
vmime-d906896132f19642518ecd2def24fbcd598db583.zip
Fixed typo causing infinite loop.
-rw-r--r--src/attachmentHelper.cpp2
1 files changed, 1 insertions, 1 deletions
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 <ref <const attachment> >
std::vector <ref <const attachment> > 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]);
}
}