Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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
wine
wine-winehq
Commits
fe65b87d
Commit
fe65b87d
authored
Feb 10, 2016
by
Hans Leidekker
Committed by
Alexandre Julliard
Feb 11, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webservices: Insert an end element node for self-closing tags in the reader.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6449cb3b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
reader.c
dlls/webservices/reader.c
+3
-3
No files found.
dlls/webservices/reader.c
View file @
fe65b87d
...
...
@@ -387,7 +387,6 @@ enum reader_state
READER_STATE_BOF
,
READER_STATE_STARTELEMENT
,
READER_STATE_STARTATTRIBUTE
,
READER_STATE_STARTENDELEMENT
,
READER_STATE_STARTCDATA
,
READER_STATE_CDATA
,
READER_STATE_TEXT
,
...
...
@@ -987,8 +986,9 @@ static HRESULT read_element( struct reader *reader )
if
(
!
read_cmp
(
reader
,
"/>"
,
2
))
{
read_skip
(
reader
,
2
);
reader
->
current
=
reader
->
current
->
parent
;
reader
->
state
=
READER_STATE_STARTENDELEMENT
;
if
(
!
(
node
=
alloc_node
(
WS_XML_NODE_TYPE_END_ELEMENT
)))
return
E_OUTOFMEMORY
;
read_insert_node
(
reader
,
reader
->
current
,
node
);
reader
->
state
=
READER_STATE_ENDELEMENT
;
}
else
{
...
...
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