From 462a5352570d2c08de624dd8ec2f581d494a2f88 Mon Sep 17 00:00:00 2001 From: Stephan Bosch Date: Sat, 14 Jan 2017 02:52:42 +0100 Subject: [PATCH] lib-sieve: Fixed transaction context passed to finish() method of action object in two cases. This is not currently used anywhere, so nothing actually broke. This bug was exposed by the previous commit, causing a compiler error/warning on some compilers. --- src/lib-sieve/sieve-result.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib-sieve/sieve-result.c b/src/lib-sieve/sieve-result.c index 68e82cddd..3c896f2d2 100644 --- a/src/lib-sieve/sieve-result.c +++ b/src/lib-sieve/sieve-result.c @@ -1054,7 +1054,7 @@ static int _sieve_result_implicit_keep /* Finish keep action */ if ( act_keep.def->finish != NULL ) { act_keep.def->finish - (&act_keep, aenv, &rac->tr_context, status); + (&act_keep, aenv, tr_context, status); } return status; @@ -1366,7 +1366,7 @@ static void sieve_result_transaction_finish if ( act->def->finish != NULL ) { act->def->finish - (act, &result->action_env, &rac->tr_context, status); + (act, &result->action_env, rac->tr_context, status); } rac = rac->next;