dovecot-2.2-pigeonhole: lib-sieve: Fixed handling of script stre...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Sat Mar 14 13:49:44 UTC 2015


details:   http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/a58ba4e734b1
changeset: 2005:a58ba4e734b1
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Sat Mar 14 14:42:30 2015 +0100
description:
lib-sieve: Fixed handling of script stream errors.

diffstat:

 src/lib-sieve/storage/file/sieve-file-script.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r e574d52c40bf -r a58ba4e734b1 src/lib-sieve/storage/file/sieve-file-script.c
--- a/src/lib-sieve/storage/file/sieve-file-script.c	Thu Mar 12 21:34:10 2015 +0100
+++ b/src/lib-sieve/storage/file/sieve-file-script.c	Sat Mar 14 14:42:30 2015 +0100
@@ -460,6 +460,7 @@
 				"Failed to close sieve script: "
 				"close(fd=%s) failed: %m", fscript->path);
 		}
+		return -1;
 	}
 
 	*stream_r = result;


More information about the dovecot-cvs mailing list