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
8f65ad0b
...
8f65ad0b9af6e83254f5c4e4056c09eaa9e28a52
authored
2006-10-30 13:54:18 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(imap_parse): Preserve the remainder of the OK line after '[whatever]' for diagnostic purposes.
1 parent
33d40f75
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
libproto/imap/folder.c
libproto/imap/folder.c
View file @
8f65ad0
...
...
@@ -2252,11 +2252,11 @@ imap_parse (f_imap_t f_imap)
if
(
*
remainder
==
'['
)
{
char
*
cruft
,
*
subtag
;
char
*
sp
=
NULL
;
char
*
sp
=
NULL
,
*
sp1
;
remainder
++
;
cruft
=
strtok_r
(
remainder
,
"]"
,
&
sp
);
if
(
!
cruft
)
cruft
=
empty
;
subtag
=
strtok_r
(
cruft
,
" "
,
&
sp
);
subtag
=
strtok_r
(
cruft
,
" "
,
&
sp
1
);
if
(
!
subtag
)
subtag
=
empty
;
if
(
strcasecmp
(
subtag
,
"ALERT"
)
==
0
)
...
...
Please
register
or
sign in
to post a comment