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
89669008
...
89669008fd50fee7403d896dcdee4506f72b2eea
authored
2011-12-12 13:42:20 +0200
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fix declaration of mu_sieve_vlist_do in libmu_sieve.
1 parent
1e4c4488
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
include/mailutils/sieve.h
libmu_sieve/util.c
include/mailutils/sieve.h
View file @
8966900
...
...
@@ -187,7 +187,7 @@ int mu_sieve_match_part_checker (const char *name, mu_list_t tags,
mu_list_t
args
);
/* Operations in value lists */
mu_sieve_value_t
*
mu_sieve_value_get
(
mu_list_t
vlist
,
size_t
index
);
int
mu_sieve_vlist_do
(
mu_sieve_value_t
*
val
,
mu_list_action_t
*
ac
,
int
mu_sieve_vlist_do
(
mu_sieve_value_t
*
val
,
mu_list_action_t
ac
,
void
*
data
);
int
mu_sieve_vlist_compare
(
mu_sieve_value_t
*
a
,
mu_sieve_value_t
*
b
,
mu_sieve_comparator_t
comp
,
...
...
libmu_sieve/util.c
View file @
8966900
...
...
@@ -419,7 +419,7 @@ mu_sieve_tag_lookup (mu_list_t taglist, char *name, mu_sieve_value_t **arg)
}
int
mu_sieve_vlist_do
(
mu_sieve_value_t
*
val
,
mu_list_action_t
*
ac
,
void
*
data
)
mu_sieve_vlist_do
(
mu_sieve_value_t
*
val
,
mu_list_action_t
ac
,
void
*
data
)
{
switch
(
val
->
type
)
{
...
...
@@ -428,7 +428,7 @@ mu_sieve_vlist_do (mu_sieve_value_t *val, mu_list_action_t *ac, void *data)
return
mu_list_foreach
(
val
->
v
.
list
,
ac
,
data
);
default:
return
-
1
;
return
EINVAL
;
}
}
...
...
Please
register
or
sign in
to post a comment