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
fb62000f
...
fb62000f12eee51177fffe967b7294b57faea79c
authored
2001-02-16 18:52:00 +0000
by
Alain Magloire
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
small fix
1 parent
946e0902
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
mailbox/mime.c
mailbox/mime.c
View file @
fb62000
...
...
@@ -274,8 +274,8 @@ _mime_parse_mpart_message(mime_t mime)
mb_length
=
mime
->
cur_offset
-
mb_offset
-
mime
->
line_ndx
+
1
;
if
(
mime
->
header_length
)
/* this skips the preamble */
_mime_append_part
(
mime
,
NULL
,
mb_offset
,
mb_length
,
mb_lines
);
if
(
(
cp2
+
blength
+
2
<
cp
&&
!
strncasecmp
(
cp2
+
2
+
blength
,
"--"
,
2
)
)
||
!
strncasecmp
(
cp2
+
blength
,
"--"
,
2
)
)
{
/* very last boundary */
if
(
(
cp2
+
blength
+
2
<
cp
&&
!
strncasecmp
(
cp2
+
blength
,
"--"
,
2
)
)
||
!
strncasecmp
(
cp2
+
blength
+
2
,
"--"
,
2
)
)
{
/* very last boundary */
mime
->
parser_state
=
MIME_STATE_BEGIN_LINE
;
mime
->
header_length
=
0
;
break
;
...
...
Please
register
or
sign in
to post a comment