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
6c6bd31e
...
6c6bd31ee94af3e6229ee96ac47f258a57c5427f
authored
2005-02-25 11:01:33 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(instr_action,instr_test): Update mach->identifier.
1 parent
d981545a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
libsieve/runtime.c
libsieve/runtime.c
View file @
6c6bd31
...
...
@@ -88,22 +88,26 @@ instr_run (sieve_machine_t mach)
void
instr_action
(
sieve_machine_t
mach
)
{
mach
->
identifier
=
SIEVE_ARG
(
mach
,
3
,
string
);
if
(
INSTR_DEBUG
(
mach
))
sieve_debug
(
mach
,
"%4lu: ACTION: %s
\n
"
,
(
unsigned
long
)
(
mach
->
pc
-
1
),
SIEVE_ARG
(
mach
,
3
,
string
)
);
mach
->
identifier
);
mach
->
action_count
++
;
instr_run
(
mach
);
mach
->
identifier
=
NULL
;
}
void
instr_test
(
sieve_machine_t
mach
)
{
mach
->
identifier
=
SIEVE_ARG
(
mach
,
3
,
string
);
if
(
INSTR_DEBUG
(
mach
))
sieve_debug
(
mach
,
"%4lu: TEST: %s
\n
"
,
(
unsigned
long
)
(
mach
->
pc
-
1
),
SIEVE_ARG
(
mach
,
3
,
string
)
);
mach
->
identifier
);
mach
->
reg
=
instr_run
(
mach
);
mach
->
identifier
=
NULL
;
}
void
...
...
@@ -254,6 +258,12 @@ sieve_get_debug_level (sieve_machine_t mach)
return
mach
->
debug_level
;
}
const
char
*
sieve_get_identifier
(
sieve_machine_t
mach
)
{
return
mach
->
identifier
;
}
int
sieve_is_dry_run
(
sieve_machine_t
mach
)
{
...
...
Please
register
or
sign in
to post a comment