Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
65187c07
Commit
65187c07
authored
Feb 26, 2017
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xmlent: check for NULL in test harness
parent
3514a4ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/test/xmlent.c
src/test/xmlent.c
+6
-0
No files found.
src/test/xmlent.c
View file @
65187c07
...
...
@@ -51,6 +51,12 @@ static void encode (const char *in, const char *out)
printf
(
"
\"
%s
\"
->
\"
%s
\"
?
\n
"
,
in
,
out
);
buf
=
vlc_xml_encode
(
in
);
if
(
buf
==
NULL
)
{
puts
(
" ERROR: got NULL"
);
exit
(
2
);
}
if
(
strcmp
(
buf
,
out
))
{
printf
(
" ERROR: got
\"
%s
\"\n
"
,
buf
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment