From 0ca5d58b3ac2020e8c473f302359ccc47fa7cc25 Mon Sep 17 00:00:00 2001 From: Stephan Bosch <stephan@rename-it.nl> Date: Fri, 7 Aug 2009 17:24:28 +0200 Subject: [PATCH] Include: fixed return type of execution function. --- src/lib-sieve/plugins/include/ext-include-common.c | 4 ++-- src/lib-sieve/plugins/include/ext-include-common.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib-sieve/plugins/include/ext-include-common.c b/src/lib-sieve/plugins/include/ext-include-common.c index 0ee060ca9..db415676a 100644 --- a/src/lib-sieve/plugins/include/ext-include-common.c +++ b/src/lib-sieve/plugins/include/ext-include-common.c @@ -520,10 +520,10 @@ static bool ext_include_runtime_include_mark return TRUE; } -bool ext_include_execute_include +int ext_include_execute_include (const struct sieve_runtime_env *renv, unsigned int include_id, bool once) { - int result = TRUE; + int result = SIEVE_EXEC_OK; struct ext_include_interpreter_context *ctx; const struct ext_include_script_info *included; struct ext_include_binary_context *binctx = diff --git a/src/lib-sieve/plugins/include/ext-include-common.h b/src/lib-sieve/plugins/include/ext-include-common.h index 49bf17f3e..d0e3ee81f 100644 --- a/src/lib-sieve/plugins/include/ext-include-common.h +++ b/src/lib-sieve/plugins/include/ext-include-common.h @@ -118,7 +118,7 @@ bool ext_include_generate_include void ext_include_interpreter_context_init(struct sieve_interpreter *interp); -bool ext_include_execute_include +int ext_include_execute_include (const struct sieve_runtime_env *renv, unsigned int block_id, bool once); void ext_include_execute_return(const struct sieve_runtime_env *renv); -- GitLab