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
049d8cfc
Commit
049d8cfc
authored
Sep 21, 2017
by
Hans Leidekker
Committed by
Alexandre Julliard
Sep 21, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webservices: Read the string table in all sized envelopes.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
91690539
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
11 deletions
+4
-11
channel.c
dlls/webservices/channel.c
+4
-11
No files found.
dlls/webservices/channel.c
View file @
049d8cfc
...
...
@@ -1547,12 +1547,10 @@ static HRESULT send_preamble_ack( struct channel *channel )
return
S_OK
;
}
static
HRESULT
receive_message_session
_setup
(
struct
channel
*
channel
)
static
HRESULT
receive_message_session
(
struct
channel
*
channel
)
{
HRESULT
hr
;
if
((
hr
=
receive_preamble
(
channel
))
!=
S_OK
)
return
hr
;
if
((
hr
=
send_preamble_ack
(
channel
))
!=
S_OK
)
return
hr
;
if
((
hr
=
receive_sized_envelope
(
channel
))
!=
S_OK
)
return
hr
;
if
(
channel
->
encoding
==
WS_ENCODING_XML_BINARY_SESSION_1
)
{
...
...
@@ -1566,13 +1564,6 @@ static HRESULT receive_message_session_setup( struct channel *channel )
return
init_reader
(
channel
);
}
static
HRESULT
receive_message_session
(
struct
channel
*
channel
)
{
HRESULT
hr
;
if
((
hr
=
receive_sized_envelope
(
channel
))
!=
S_OK
)
return
hr
;
return
init_reader
(
channel
);
}
static
HRESULT
receive_message_sock
(
struct
channel
*
channel
,
SOCKET
socket
)
{
HRESULT
hr
;
...
...
@@ -1596,7 +1587,9 @@ static HRESULT receive_message( struct channel *channel )
switch
(
channel
->
session_state
)
{
case
SESSION_STATE_UNINITIALIZED
:
return
receive_message_session_setup
(
channel
);
if
((
hr
=
receive_preamble
(
channel
))
!=
S_OK
)
return
hr
;
if
((
hr
=
send_preamble_ack
(
channel
))
!=
S_OK
)
return
hr
;
/* fall through */
case
SESSION_STATE_SETUP_COMPLETE
:
return
receive_message_session
(
channel
);
...
...
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