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
f423b825
...
f423b8258d64a1b6b923c1ca8b58f97f109166ed
authored
2002-11-19 18:17:27 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(i_ascii_casemap_contains): Fixed typecast.
1 parent
c94510c2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
libsieve/comparator.c
libsieve/comparator.c
View file @
f423b82
...
...
@@ -363,7 +363,7 @@ i_ascii_casemap_contains (const char *pattern, const char *text)
haystack
=
(
const
unsigned
char
*
)
text
;
if
((
b
=
U
(
*
(
needle
=
(
const
unchar
*
)
pattern
))))
if
((
b
=
U
(
*
(
needle
=
(
const
un
signed
char
*
)
pattern
))))
{
haystack
--
;
do
...
...
@@ -438,7 +438,7 @@ i_ascii_casemap_matches (const char *pattern, const char *text)
int
rc
;
char
*
p
=
strdup
(
text
);
_pattern_upcase
(
p
,
NULL
);
rc
=
fnmatch
(
pattern
,
text
,
0
)
==
0
;
rc
=
fnmatch
(
pattern
,
p
,
0
)
==
0
;
free
(
p
);
return
rc
;
#endif
...
...
Please
register
or
sign in
to post a comment