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
d92cbeef
...
d92cbeef399ad46292a755141195d8b9595fdd26
authored
2002-11-22 14:51:54 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(sieve_require_comparator): Implemented loadable comparators.
1 parent
f73e289f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
libsieve/comparator.c
libsieve/comparator.c
View file @
d92cbee
...
...
@@ -87,7 +87,12 @@ sieve_require_comparator (sieve_machine_t mach, const char *name)
{
sieve_comparator_record_t
*
reg
=
_lookup
(
mach
->
comp_list
,
name
);
if
(
!
reg
)
return
1
;
{
if
(
!
(
sieve_load_ext
(
mach
,
name
)
==
0
&&
(
reg
=
_lookup
(
mach
->
comp_list
,
name
))
!=
NULL
))
return
1
;
}
reg
->
required
=
1
;
return
0
;
}
...
...
Please
register
or
sign in
to post a comment