dovecot-2.0: lib-fs: Fixed error handling for posix.write_stream...

dovecot at dovecot.org dovecot at dovecot.org
Thu Oct 21 20:56:34 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/75cc38d62711
changeset: 12333:75cc38d62711
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Oct 21 18:56:24 2010 +0100
description:
lib-fs: Fixed error handling for posix.write_stream_finish()

diffstat:

 src/lib-fs/fs-posix.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 9e400f6963eb -r 75cc38d62711 src/lib-fs/fs-posix.c
--- a/src/lib-fs/fs-posix.c	Thu Oct 21 18:49:19 2010 +0100
+++ b/src/lib-fs/fs-posix.c	Thu Oct 21 18:56:24 2010 +0100
@@ -344,7 +344,7 @@
 	case FS_OPEN_MODE_RDONLY:
 		i_unreached();
 	}
-	return 0;
+	return ret;
 }
 
 static int


More information about the dovecot-cvs mailing list