dovecot-2.2-pigeonhole: sieve-test: Fixed couple of Coverity war...
pigeonhole at rename-it.nl
pigeonhole at rename-it.nl
Wed Sep 30 22:11:12 UTC 2015
details: http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/47e8e82c98d3
changeset: 2112:47e8e82c98d3
user: Stephan Bosch <stephan at rename-it.nl>
date: Thu Oct 01 00:11:04 2015 +0200
description:
sieve-test: Fixed couple of Coverity warnings.
diffstat:
src/sieve-tools/sieve-test.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 3928e08d9340 -r 47e8e82c98d3 src/sieve-tools/sieve-test.c
--- a/src/sieve-tools/sieve-test.c Thu Oct 01 00:10:31 2015 +0200
+++ b/src/sieve-tools/sieve-test.c Thu Oct 01 00:11:04 2015 +0200
@@ -378,7 +378,7 @@
sbin = main_sbin;
main_sbin = NULL;
- sieve_multiscript_run(mscript, sbin,
+ (void)sieve_multiscript_run(mscript, sbin,
ehandler, ehandler, 0, TRUE);
}
@@ -395,6 +395,7 @@
case SIEVE_EXEC_BIN_CORRUPT:
i_info("corrupt binary deleted.");
(void) unlink(sieve_binary_path(sbin));
+ /* fall through */
case SIEVE_EXEC_FAILURE:
i_info("final result: failed; resolved with successful implicit keep");
exit_status = EXIT_FAILURE;
More information about the dovecot-cvs
mailing list