summaryrefslogtreecommitdiff
path: root/libsieve
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2004-01-05 18:10:18 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2004-01-05 18:10:18 +0000
commit1e7f70ff3e97a1cb94f35c2b93f7373d16f5eb21 (patch)
tree88d0cbb01e580cec0f1961a8c7a11dbdd11d9608 /libsieve
parentb53eb75cf89213998951ce0ef7b5c37b3a6d5a98 (diff)
downloadmailutils-1e7f70ff3e97a1cb94f35c2b93f7373d16f5eb21.tar.gz
mailutils-1e7f70ff3e97a1cb94f35c2b93f7373d16f5eb21.tar.bz2
(instr_run): Adjust pc before calling handler.
Diffstat (limited to 'libsieve')
-rw-r--r--libsieve/runtime.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libsieve/runtime.c b/libsieve/runtime.c
index 182f1d2df..2e29e6965 100644
--- a/libsieve/runtime.c
+++ b/libsieve/runtime.c
@@ -69,6 +69,8 @@ instr_run (sieve_machine_t mach)
list_t tag_list = SIEVE_ARG (mach, 2, list);
int rc = 0;
+ SIEVE_ADJUST(mach, 4);
+
if (INSTR_DEBUG (mach))
{
sieve_debug (mach, "Arguments: ");
@@ -80,7 +82,6 @@ instr_run (sieve_machine_t mach)
if (!INSTR_DISASS(mach))
rc = han (mach, arg_list, tag_list);
- SIEVE_ADJUST(mach, 4);
return rc;
}

Return to:

Send suggestions and report system problems to the System administrator.