From: Timo Sirainen Date: Thu, 21 Oct 2010 17:56:24 +0000 (+0100) Subject: lib-fs: Fixed error handling for posix.write_stream_finish() X-Git-Tag: 2.0.6~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eb4b779b7f4c998304f06fd0e0c7e691d7f19b09;p=thirdparty%2Fdovecot%2Fcore.git lib-fs: Fixed error handling for posix.write_stream_finish() --- diff --git a/src/lib-fs/fs-posix.c b/src/lib-fs/fs-posix.c index 9538e2e75a..c8032bb5ce 100644 --- a/src/lib-fs/fs-posix.c +++ b/src/lib-fs/fs-posix.c @@ -344,7 +344,7 @@ static int fs_posix_write_stream_finish(struct fs_file *_file, bool success) case FS_OPEN_MODE_RDONLY: i_unreached(); } - return 0; + return ret; } static int