dovecot-2.2-pigeonhole: lib-sieve: file storage: The sieve_scrip...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Thu May 7 19:17:59 UTC 2015


details:   http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/eeef7010b52e
changeset: 2046:eeef7010b52e
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Thu May 07 21:17:40 2015 +0200
description:
lib-sieve: file storage: The sieve_script_is_active() function returns int rather than bool.

diffstat:

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

diffs (12 lines):

diff -r d4aa9ddf3efd -r eeef7010b52e src/lib-sieve/storage/file/sieve-file-script.c
--- a/src/lib-sieve/storage/file/sieve-file-script.c	Thu May 07 21:10:37 2015 +0200
+++ b/src/lib-sieve/storage/file/sieve-file-script.c	Thu May 07 21:17:40 2015 +0200
@@ -686,7 +686,7 @@
 		ret = link(fscript->path, newpath);
 		if ( ret >= 0 ) {
 			/* Is the requested script active? */
-			if ( sieve_script_is_active(script) ) {
+			if ( sieve_script_is_active(script) > 0 ) {
 				/* Active; make active link point to the new copy */
 				i_assert( fstorage->link_path != NULL );
 				link_path = t_strconcat


More information about the dovecot-cvs mailing list