changeset 12333:75cc38d62711

lib-fs: Fixed error handling for posix.write_stream_finish()
author Timo Sirainen <tss@iki.fi>
date Thu, 21 Oct 2010 18:56:24 +0100
parents 9e400f6963eb
children d9a66fa6e206
files src/lib-fs/fs-posix.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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