Mercurial > dovecot > core-2.2
changeset 18759:1a52baa9bf27
lib-fs: fs_write_stream_abort() now ignores missing o_stream_nfinish() call
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 29 May 2015 17:51:21 +0300 |
parents | 485ed5de2473 |
children | 83f1b9956788 |
files | src/lib-fs/fs-api.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-fs/fs-api.c Fri May 29 11:50:18 2015 +0300 +++ b/src/lib-fs/fs-api.c Fri May 29 17:51:21 2015 +0300 @@ -587,6 +587,8 @@ i_assert(*output == file->output); *output = NULL; + if (file->output != NULL) + o_stream_ignore_last_errors(file->output); T_BEGIN { (void)file->fs->v.write_stream_finish(file, FALSE); } T_END;