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
9d213312
Commit
9d213312
authored
Aug 28, 2013
by
Hans Leidekker
Committed by
Alexandre Julliard
Aug 28, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Remove an unneeded parameter from RPCRT4_BuildHttpConnectHeader.
parent
a2f6e92a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
rpc_message.c
dlls/rpcrt4/rpc_message.c
+2
-2
rpc_message.h
dlls/rpcrt4/rpc_message.h
+1
-1
rpc_transport.c
dlls/rpcrt4/rpc_transport.c
+2
-2
No files found.
dlls/rpcrt4/rpc_message.c
View file @
9d213312
...
...
@@ -340,7 +340,7 @@ RpcPktHdr *RPCRT4_BuildHttpHeader(ULONG DataRepresentation,
(payload) += sizeof(UUID); \
} while (0)
RpcPktHdr
*
RPCRT4_BuildHttpConnectHeader
(
unsigned
short
flags
,
int
out_pipe
,
RpcPktHdr
*
RPCRT4_BuildHttpConnectHeader
(
int
out_pipe
,
const
UUID
*
connection_uuid
,
const
UUID
*
pipe_uuid
,
const
UUID
*
association_uuid
)
...
...
@@ -353,7 +353,7 @@ RpcPktHdr *RPCRT4_BuildHttpConnectHeader(unsigned short flags, int out_pipe,
if
(
!
out_pipe
)
size
+=
8
+
4
+
sizeof
(
UUID
);
header
=
RPCRT4_BuildHttpHeader
(
NDR_LOCAL_DATA_REPRESENTATION
,
flags
,
header
=
RPCRT4_BuildHttpHeader
(
NDR_LOCAL_DATA_REPRESENTATION
,
0
,
out_pipe
?
4
:
6
,
size
);
if
(
!
header
)
return
NULL
;
payload
=
(
char
*
)(
&
header
->
http
+
1
);
...
...
dlls/rpcrt4/rpc_message.h
View file @
9d213312
...
...
@@ -31,7 +31,7 @@ RpcPktHdr *RPCRT4_BuildBindHeader(ULONG DataRepresentation, unsigned short MaxTr
RpcPktHdr
*
RPCRT4_BuildBindNackHeader
(
ULONG
DataRepresentation
,
unsigned
char
RpcVersion
,
unsigned
char
RpcVersionMinor
,
unsigned
short
RejectReason
)
DECLSPEC_HIDDEN
;
RpcPktHdr
*
RPCRT4_BuildBindAckHeader
(
ULONG
DataRepresentation
,
unsigned
short
MaxTransmissionSize
,
unsigned
short
MaxReceiveSize
,
ULONG
AssocGroupId
,
LPCSTR
ServerAddress
,
unsigned
char
ResultCount
,
const
RpcResult
*
Results
)
DECLSPEC_HIDDEN
;
RpcPktHdr
*
RPCRT4_BuildHttpHeader
(
ULONG
DataRepresentation
,
unsigned
short
flags
,
unsigned
short
num_data_items
,
unsigned
int
payload_size
)
DECLSPEC_HIDDEN
;
RpcPktHdr
*
RPCRT4_BuildHttpConnectHeader
(
unsigned
short
flags
,
int
out_pipe
,
const
UUID
*
connection_uuid
,
const
UUID
*
pipe_uuid
,
const
UUID
*
association_uuid
)
DECLSPEC_HIDDEN
;
RpcPktHdr
*
RPCRT4_BuildHttpConnectHeader
(
int
out_pipe
,
const
UUID
*
connection_uuid
,
const
UUID
*
pipe_uuid
,
const
UUID
*
association_uuid
)
DECLSPEC_HIDDEN
;
RpcPktHdr
*
RPCRT4_BuildHttpFlowControlHeader
(
BOOL
server
,
ULONG
bytes_transmitted
,
ULONG
flow_control_increment
,
const
UUID
*
pipe_uuid
)
DECLSPEC_HIDDEN
;
VOID
RPCRT4_FreeHeader
(
RpcPktHdr
*
Header
)
DECLSPEC_HIDDEN
;
RPC_STATUS
RPCRT4_Send
(
RpcConnection
*
Connection
,
RpcPktHdr
*
Header
,
void
*
Buffer
,
unsigned
int
BufferLength
)
DECLSPEC_HIDDEN
;
...
...
dlls/rpcrt4/rpc_transport.c
View file @
9d213312
...
...
@@ -2232,7 +2232,7 @@ static RPC_STATUS rpcrt4_http_prepare_in_pipe(HINTERNET in_request, RpcHttpAsync
if
(
status
!=
RPC_S_OK
)
return
status
;
TRACE
(
"sending HTTP connect header to server
\n
"
);
hdr
=
RPCRT4_BuildHttpConnectHeader
(
0
,
FALSE
,
connection_uuid
,
in_pipe_uuid
,
association_uuid
);
hdr
=
RPCRT4_BuildHttpConnectHeader
(
FALSE
,
connection_uuid
,
in_pipe_uuid
,
association_uuid
);
if
(
!
hdr
)
return
RPC_S_OUT_OF_RESOURCES
;
ret
=
InternetWriteFile
(
in_request
,
hdr
,
hdr
->
common
.
frag_len
,
&
bytes_written
);
RPCRT4_FreeHeader
(
hdr
);
...
...
@@ -2308,7 +2308,7 @@ static RPC_STATUS rpcrt4_http_prepare_out_pipe(HINTERNET out_request,
status
=
send_echo_request
(
out_request
,
async_data
,
cancel_event
);
if
(
status
!=
RPC_S_OK
)
return
status
;
hdr
=
RPCRT4_BuildHttpConnectHeader
(
0
,
TRUE
,
connection_uuid
,
out_pipe_uuid
,
NULL
);
hdr
=
RPCRT4_BuildHttpConnectHeader
(
TRUE
,
connection_uuid
,
out_pipe_uuid
,
NULL
);
if
(
!
hdr
)
return
RPC_S_OUT_OF_RESOURCES
;
prepare_async_request
(
async_data
);
...
...
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