From 85854f753359111d9bd97ef5337c097454b3feb6 Mon Sep 17 00:00:00 2001 From: Stephan Bosch <stephan@rename-it.nl> Date: Sat, 14 Mar 2015 23:21:06 +0100 Subject: [PATCH] lib-sieve: file storage: Fixed handling of invalid active script link. The error status code wasn't set, so this was handled as an error rather than a warning in the LDA plugin. --- src/lib-sieve/storage/file/sieve-file-storage-active.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib-sieve/storage/file/sieve-file-storage-active.c b/src/lib-sieve/storage/file/sieve-file-storage-active.c index 0e5016766..a2f655fb9 100644 --- a/src/lib-sieve/storage/file/sieve-file-storage-active.c +++ b/src/lib-sieve/storage/file/sieve-file-storage-active.c @@ -277,6 +277,8 @@ struct sieve_script *sieve_file_storage_active_script_open * ignore this situation and report 'no active script'. * Activation should fix this situation. */ + sieve_storage_set_error(storage, SIEVE_ERROR_NOT_FOUND, + "Active script is invalid"); return NULL; } -- GitLab