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
43150646
...
431506466774567083c52a2cf5f9517aa1671826
authored
2003-03-24 15:18:37 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(stream_getline,parse_content_type): A couple of bugfixes.
1 parent
e526dcb7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
mh/mhn.c
mh/mhn.c
View file @
4315064
...
...
@@ -1593,7 +1593,7 @@ stream_getline (stream_t str, char **buf, size_t *bufsize, size_t *pnum)
numread
+=
n
;
if
((
*
buf
)[
numread
-
1
]
!=
'\n'
)
{
if
(
numread
==
*
bufsize
)
if
(
numread
+
1
==
*
bufsize
)
{
*
bufsize
+=
128
;
*
buf
=
xrealloc
(
*
buf
,
*
bufsize
);
...
...
@@ -1663,6 +1663,7 @@ parse_content_type (struct compose_env *env,
while
(
stop
==
0
&&
status
==
0
&&
*
rest
)
{
skipws
(
rest
);
switch
(
*
rest
++
)
{
case
'('
:
...
...
@@ -1742,7 +1743,6 @@ parse_content_type (struct compose_env *env,
stop
=
1
;
break
;
}
skipws
(
rest
);
}
if
(
comment
)
...
...
Please
register
or
sign in
to post a comment