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
df064ef2
...
df064ef2b8140a8269106eb3c300a33a27fbdc50
authored
2001-04-23 05:44:55 +0000
by
Alain Magloire
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
A gross hack to correct a bug, I must find something better for a fix.
1 parent
60a18ad2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
mailbox/header.c
mailbox/header.c
View file @
df064ef
...
...
@@ -475,6 +475,17 @@ header_get_value (header_t header, const char *name, char *buffer,
strncasecmp
(
header
->
hdr
[
i
].
fn
,
name
,
fn_len
)
==
0
)
{
fv_len
=
(
header
->
hdr
[
i
].
fv_end
-
header
->
hdr
[
i
].
fv
);
/* FIXME:FIXME:PLEASE: hack, add a space/nl separator */
if
(
total
&&
(
threshold
-
2
)
>
0
)
{
if
(
buffer
)
{
*
buffer
++
=
'\n'
;
*
buffer
++
=
' '
;
}
threshold
-=
2
;
total
+=
2
;
}
total
+=
fv_len
;
/* Can everything fit in the buffer. */
if
(
buffer
&&
threshold
>
0
)
...
...
Please
register
or
sign in
to post a comment