dovecot-2.2-pigeonhole: sievec: Don't pass the filename as scrip...

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/16dfb44e0c1b
changeset: 2008:16dfb44e0c1b
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Thu Mar 12 21:42:31 2015 +0100
description:
sievec: Don't pass the filename as script name when compiling a whole directory.

diffstat:

 src/sieve-tools/sievec.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 57f54356a8bf -r 16dfb44e0c1b src/sieve-tools/sievec.c
--- a/src/sieve-tools/sievec.c	Thu Mar 12 21:41:03 2015 +0100
+++ b/src/sieve-tools/sievec.c	Thu Mar 12 21:42:31 2015 +0100
@@ -120,7 +120,7 @@
 				else
 					file = t_strconcat(scriptfile, "/", dp->d_name, NULL);
 
-				sbin = sieve_tool_script_compile(svinst, file, dp->d_name);
+				sbin = sieve_tool_script_compile(svinst, file, NULL);
 
 				if ( sbin != NULL ) {
 					sieve_save(sbin, TRUE, NULL);
@@ -142,7 +142,7 @@
 		if ( sbin != NULL ) {
 			if ( dump )
 				sieve_tool_dump_binary_to(sbin, outfile, FALSE);
-			else {
+			else {	
 				sieve_save_as(sbin, outfile, TRUE, 0600, NULL);
 			}
 


More information about the dovecot-cvs mailing list