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
26c39af1
...
26c39af1eaa71c0d21383fc942f6f82ac3d54776
authored
2002-01-19 16:44:34 +0000
by
Sam Roberts
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
X-UID is 5 chars, not 4, and this line will match X-UIDL too, is that
intended?
1 parent
c06ef788
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
mailbox/mbx_mbox.c
mailbox/mbx_mbox.c
View file @
26c39af
...
...
@@ -1574,6 +1574,8 @@ mbox_append_message0 (mailbox_t mailbox, message_t msg, off_t *psize,
- Should we skip the IMAP "X-Status"? */
if
((
strncasecmp
(
buffer
,
"Status"
,
6
)
==
0
)
||
(
strncasecmp
(
buffer
,
"X-IMAPbase"
,
10
)
==
0
)
/* FIXME: isn't the length of "X-UID" 5, not 4? And
this will match X-UID and X-UIDL, is this intended? */
||
(
strncasecmp
(
buffer
,
"X-UID"
,
4
)
==
0
&&
(
buffer
[
5
]
==
':'
||
buffer
[
5
]
==
' '
||
buffer
[
5
]
==
'\t'
)))
...
...
Please
register
or
sign in
to post a comment