Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
0ac9f9d4
Commit
0ac9f9d4
authored
Nov 27, 2018
by
Hans Leidekker
Committed by
Alexandre Julliard
Nov 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webservices: Call WsReadEndElement just once in WsReadEnvelopeEnd.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a0f00bd6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
msg.c
dlls/webservices/msg.c
+1
-8
No files found.
dlls/webservices/msg.c
View file @
0ac9f9d4
...
...
@@ -938,13 +938,6 @@ HRESULT WINAPI WsReadEnvelopeStart( WS_MESSAGE *handle, WS_XML_READER *reader, W
return
hr
;
}
static
HRESULT
read_envelope_end
(
WS_XML_READER
*
reader
)
{
HRESULT
hr
;
if
((
hr
=
WsReadEndElement
(
reader
,
NULL
))
!=
S_OK
)
return
hr
;
/* </s:Body> */
return
WsReadEndElement
(
reader
,
NULL
);
/* </s:Envelope> */
}
/**************************************************************************
* WsReadEnvelopeEnd [webservices.@]
*/
...
...
@@ -967,7 +960,7 @@ HRESULT WINAPI WsReadEnvelopeEnd( WS_MESSAGE *handle, WS_ERROR *error )
}
if
(
msg
->
state
!=
WS_MESSAGE_STATE_READING
)
hr
=
WS_E_INVALID_OPERATION
;
else
if
((
hr
=
read_envelope_end
(
msg
->
reader_body
))
==
S_OK
)
else
if
((
hr
=
WsReadEndElement
(
msg
->
reader_body
,
NULL
))
==
S_OK
)
msg
->
state
=
WS_MESSAGE_STATE_DONE
;
LeaveCriticalSection
(
&
msg
->
cs
);
...
...
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