Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
b6d858f4
Commit
b6d858f4
authored
Jan 21, 2018
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib/expat/Parser: make the "is_final" argument optional
parent
dedede3c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
ExpatParser.hxx
src/lib/expat/ExpatParser.hxx
+1
-1
StreamExpatParser.cxx
src/lib/expat/StreamExpatParser.cxx
+1
-1
CurlStorage.cxx
src/storage/plugins/CurlStorage.cxx
+1
-1
No files found.
src/lib/expat/ExpatParser.hxx
View file @
b6d858f4
...
...
@@ -72,7 +72,7 @@ public:
XML_SetCharacterDataHandler
(
parser
,
charhndl
);
}
void
Parse
(
const
char
*
data
,
size_t
length
,
bool
is_final
);
void
Parse
(
const
char
*
data
,
size_t
length
,
bool
is_final
=
false
);
void
CompleteParse
()
{
Parse
(
""
,
0
,
true
);
...
...
src/lib/expat/StreamExpatParser.cxx
View file @
b6d858f4
...
...
@@ -32,7 +32,7 @@ ExpatParser::Parse(InputStream &is)
if
(
nbytes
==
0
)
break
;
Parse
(
buffer
,
nbytes
,
false
);
Parse
(
buffer
,
nbytes
);
}
CompleteParse
();
...
...
src/storage/plugins/CurlStorage.cxx
View file @
b6d858f4
...
...
@@ -300,7 +300,7 @@ private:
void
OnData
(
ConstBuffer
<
void
>
_data
)
final
{
const
auto
data
=
ConstBuffer
<
char
>::
FromVoid
(
_data
);
Parse
(
data
.
data
,
data
.
size
,
false
);
Parse
(
data
.
data
,
data
.
size
);
}
void
OnEnd
()
final
{
...
...
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