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
ab82b446
Commit
ab82b446
authored
Jun 25, 2015
by
Michael Müller
Committed by
Alexandre Julliard
Jun 25, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Fix arguments of HttpAddRequestHeaders.
parent
1b53917e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
rpc_transport.c
dlls/rpcrt4/rpc_transport.c
+2
-2
No files found.
dlls/rpcrt4/rpc_transport.c
View file @
ab82b446
...
...
@@ -2275,7 +2275,7 @@ static RPC_STATUS insert_content_length_header(HINTERNET request, DWORD len)
WCHAR
header
[
sizeof
(
fmtW
)
/
sizeof
(
fmtW
[
0
])
+
10
];
sprintfW
(
header
,
fmtW
,
len
);
if
((
HttpAddRequestHeadersW
(
request
,
header
,
-
1
,
HTTP_ADDREQ_FLAG_REPLACE
)))
return
RPC_S_OK
;
if
((
HttpAddRequestHeadersW
(
request
,
header
,
-
1
,
HTTP_ADDREQ_FLAG_REPLACE
|
HTTP_ADDREQ_FLAG_ADD
)))
return
RPC_S_OK
;
return
RPC_S_SERVER_UNAVAILABLE
;
}
...
...
@@ -2867,7 +2867,7 @@ static RPC_STATUS authorize_request(RpcConnection_http *httpc, HINTERNET request
}
if
(
info
->
scheme
!=
RPC_C_HTTP_AUTHN_SCHEME_BASIC
)
HttpAddRequestHeadersW
(
request
,
authW
,
-
1
,
HTTP_ADDREQ_FLAG_REPLACE
);
HttpAddRequestHeadersW
(
request
,
authW
,
-
1
,
HTTP_ADDREQ_FLAG_REPLACE
|
HTTP_ADDREQ_FLAG_ADD
);
destroy_authinfo
(
info
);
return
status
;
...
...
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