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
3662b9c4
...
3662b9c4747962ceabef9300da095f7e63b758be
authored
2002-01-21 14:51:10 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(str_append): Check for NULL.
1 parent
5dac9802
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
mailbox/parse822.c
mailbox/parse822.c
View file @
3662b9c
...
...
@@ -132,7 +132,9 @@ static int str_append_n(char** to, const char* from, size_t n)
}
static
int
str_append
(
char
**
to
,
const
char
*
from
)
{
return
str_append_n
(
to
,
from
,
strlen
(
from
));
if
(
!
from
)
return
0
;
return
str_append_n
(
to
,
from
,
strlen
(
from
));
}
static
int
str_append_char
(
char
**
to
,
char
c
)
{
...
...
Please
register
or
sign in
to post a comment