Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
564bb3f0
...
564bb3f00bf1232d6f7423e71aeadd559c32a6ba
authored
2002-11-14 14:48:02 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(instr_action): Increase action_count; (sieve_run): Log implicit keep action.
1 parent
b5025fea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
libsieve/runtime.c
libsieve/runtime.c
View file @
564bb3f
...
...
@@ -60,6 +60,7 @@ instr_action (sieve_machine_t mach)
sieve_debug
(
mach
,
"%4lu: ACTION: %s
\n
"
,
(
unsigned
long
)
(
mach
->
pc
-
1
),
SIEVE_ARG
(
mach
,
3
,
string
));
mach
->
action_count
++
;
instr_run
(
mach
);
}
...
...
@@ -250,10 +251,15 @@ sieve_run (sieve_machine_t mach)
{
if
(
setjmp
(
mach
->
errbuf
))
return
1
;
mach
->
action_count
=
0
;
for
(
mach
->
pc
=
1
;
mach
->
prog
[
mach
->
pc
].
handler
;
)
(
*
mach
->
prog
[
mach
->
pc
++
].
instr
)
(
mach
);
if
(
mach
->
action_count
==
0
)
sieve_log_action
(
mach
,
"IMPLICIT KEEP"
,
NULL
);
if
(
INSTR_DEBUG
(
mach
))
sieve_debug
(
mach
,
"%4lu: STOP
\n
"
,
mach
->
pc
);
...
...
Please
register
or
sign in
to post a comment