Mercurial > dovecot > core-2.2
changeset 2435:288eb0d0ca7d HEAD
We didn't call callback with NULL header at the end.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 22 Aug 2004 08:47:22 +0300 |
parents | 5e8e41cb8185 |
children | f8c4ad92092c |
files | src/lib-mail/istream-header-filter.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-mail/istream-header-filter.c Sun Aug 22 08:46:50 2004 +0300 +++ b/src/lib-mail/istream-header-filter.c Sun Aug 22 08:47:22 2004 +0300 @@ -139,6 +139,8 @@ if (hdr == NULL) { /* finished */ + if (!mstream->header_read && mstream->callback != NULL) + mstream->callback(NULL, &matched, mstream->context); mstream->header_read = TRUE; message_parse_header_deinit(mstream->hdr_ctx);