Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
GNOME
libxml2
Commits
ce0b0d0d
Commit
ce0b0d0d
authored
Nov 20, 2015
by
Daniel Veillard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not print error context when there is none
Which now happens more frequently du to xmlHaltParser use
parent
e3b15974
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
error.c
error.c
+3
-1
No files found.
error.c
View file @
ce0b0d0d
...
...
@@ -177,7 +177,9 @@ xmlParserPrintFileContextInternal(xmlParserInputPtr input ,
xmlChar
content
[
81
];
/* space for 80 chars + line terminator */
xmlChar
*
ctnt
;
if
(
input
==
NULL
)
return
;
if
((
input
==
NULL
)
||
(
input
->
cur
==
NULL
)
||
(
*
input
->
cur
==
0
))
return
;
cur
=
input
->
cur
;
base
=
input
->
base
;
/* skip backwards over any end-of-lines */
...
...
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