From 93c1be5023954a441f9b2de221226dea00c271d8 Mon Sep 17 00:00:00 2001 From: Stephan Bosch <stephan@rename-it.nl> Date: Fri, 14 May 2010 12:16:52 +0200 Subject: [PATCH] Spamtest/Virustest extensions: forgot to call extension unload handler. --- src/lib-sieve/plugins/spamvirustest/ext-spamvirustest.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib-sieve/plugins/spamvirustest/ext-spamvirustest.c b/src/lib-sieve/plugins/spamvirustest/ext-spamvirustest.c index a20522b84..1b4dd8607 100644 --- a/src/lib-sieve/plugins/spamvirustest/ext-spamvirustest.c +++ b/src/lib-sieve/plugins/spamvirustest/ext-spamvirustest.c @@ -70,7 +70,7 @@ static bool ext_spamvirustest_validator_load const struct sieve_extension_def spamtest_extension = { "spamtest", ext_spamvirustest_load, - NULL, + ext_spamvirustest_unload, ext_spamvirustest_validator_load, NULL, NULL, NULL, NULL, NULL, SIEVE_EXT_DEFINE_OPERATION(spamtest_operation), @@ -80,7 +80,7 @@ const struct sieve_extension_def spamtest_extension = { const struct sieve_extension_def spamtestplus_extension = { "spamtestplus", ext_spamvirustest_load, - NULL, + ext_spamvirustest_unload, ext_spamvirustest_validator_load, NULL, NULL, NULL, NULL, NULL, SIEVE_EXT_DEFINE_OPERATION(spamtest_operation), @@ -90,7 +90,7 @@ const struct sieve_extension_def spamtestplus_extension = { const struct sieve_extension_def virustest_extension = { "virustest", ext_spamvirustest_load, - NULL, + ext_spamvirustest_unload, ext_spamvirustest_validator_load, NULL, NULL, NULL, NULL, NULL, SIEVE_EXT_DEFINE_OPERATION(virustest_operation), -- GitLab