projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72f37fd
)
Mimeparser bugfix; if we continue we must flush the already parsed headers too.
author
Wilfried Goesgens
<dothebart@citadel.org>
Fri, 10 Dec 2010 17:14:40 +0000
(18:14 +0100)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Fri, 10 Dec 2010 17:14:40 +0000
(18:14 +0100)
libcitadel/lib/mime_parser.c
patch
|
blob
|
history
diff --git
a/libcitadel/lib/mime_parser.c
b/libcitadel/lib/mime_parser.c
index 56336ba6afe445421a1db9b3cb37c9a47780d7b2..e6d65e9f42be5dfd13bfd392a37e554399df37cf 100644
(file)
--- a/
libcitadel/lib/mime_parser.c
+++ b/
libcitadel/lib/mime_parser.c
@@
-636,8
+636,11
@@
static void recurseable_mime_parser(char *partnum,
SubMimeHeaders,
m);
if ((next_boundary != NULL) &&
- (next_boundary - part_start < 3))
+ (next_boundary - part_start < 3)) {
+ FlushInterestingMimes(SubMimeHeaders);
+
continue;
+ }
if ( (part_start != NULL) && (next_boundary != NULL) ) {
part_end = next_boundary;