diff options
Diffstat (limited to 'camel/camel-mime-parser.c')
-rw-r--r-- | camel/camel-mime-parser.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/camel/camel-mime-parser.c b/camel/camel-mime-parser.c index b9fc3d2ebb..d08beffca7 100644 --- a/camel/camel-mime-parser.c +++ b/camel/camel-mime-parser.c @@ -1719,13 +1719,12 @@ tail_recurse: } while (hb == h && *datalength > 0); /* check for any filter completion data */ - if (*datalength > 0) { - while (f) { - camel_mime_filter_complete(f->filter, *databuffer, *datalength, presize, - databuffer, datalength, &presize); - f = f->next; - } + while (f) { + camel_mime_filter_complete(f->filter, *databuffer, *datalength, presize, + databuffer, datalength, &presize); + f = f->next; } + if (*datalength > 0) return; |