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
10837b80
...
10837b80e19e0a8eb43bf8559bcdce61263de1a8
authored
2003-09-26 23:10:01 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(imap4d_search0): Use case-insensitive comparison
1 parent
27dfc1db
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
imap4d/search.c
imap4d/status.c
imap4d/search.c
View file @
10837b8
...
...
@@ -224,7 +224,7 @@ imap4d_search0 (char *arg, int isuid, char *replybuf, size_t replysize)
}
/* Currently only ASCII is supported */
if
(
strcmp
(
parsebuf
.
token
,
"US-ASCII"
))
if
(
strc
asec
mp
(
parsebuf
.
token
,
"US-ASCII"
))
{
snprintf
(
replybuf
,
replysize
,
"Charset not supported"
);
return
RESP_NO
;
...
...
imap4d/status.c
View file @
10837b8
...
...
@@ -47,7 +47,7 @@ status_get_handler (const char *name)
struct
status_table
*
p
;
for
(
p
=
status_table
;
p
->
name
;
p
++
)
if
(
strcmp
(
p
->
name
,
name
)
==
0
)
if
(
strc
asec
mp
(
p
->
name
,
name
)
==
0
)
return
p
->
fun
;
return
NULL
;
}
...
...
Please
register
or
sign in
to post a comment