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
393b8b60
...
393b8b604a17c77720c0afaafb7f17a012a66a76
authored
2001-08-22 19:57:18 +0000
by
Jakob Kaivo
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix a segfault error by testing sp != NULL
1 parent
01a9e9fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
imap4d/fetch.c
imap4d/fetch.c
View file @
393b8b6
...
...
@@ -813,9 +813,9 @@ bodystructure (message_t msg, int extension)
text_plain
=
1
;
}
while
(
*
sp
&&
isspace
((
unsigned
)
*
sp
))
sp
++
;
while
(
sp
!=
NULL
&&
*
sp
&&
isspace
((
unsigned
)
*
sp
))
sp
++
;
/* body parameter parenthesized list: Content-type attributes */
if
(
*
sp
||
text_plain
)
if
(
(
sp
!=
NULL
&&
*
sp
)
||
text_plain
)
{
util_send
(
" ("
);
{
...
...
Please
register
or
sign in
to post a comment