]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-mail: Fixed istream-header-filter calling callback(hdr=NULL)
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 19 May 2016 20:19:29 +0000 (23:19 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 19 May 2016 20:21:34 +0000 (23:21 +0300)
commit104a244966641e13bb18b6a8006180702c88d518
tree7a458e95d3957f989709c8f9327ec35947a31148
parentdca07197ab5bc2ba29f30d6c3814c24f7518d1f2
lib-mail: Fixed istream-header-filter calling callback(hdr=NULL)

It should do it on the following parsings as well if there were any
callbacks that were called, or if the hdr==NULL callback added any
headers. This is important because the hdr==NULL call could do some
cleanups.
src/lib-mail/istream-header-filter.c
src/lib-mail/test-istream-header-filter.c