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
1c5bc9a7
Commit
1c5bc9a7
authored
May 09, 2008
by
Hans Leidekker
Committed by
Alexandre Julliard
May 12, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: HTTP_BuildProxyRequestUrl returns a pointer.
parent
a3ea34c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
http.c
dlls/wininet/http.c
+2
-2
No files found.
dlls/wininet/http.c
View file @
1c5bc9a7
...
...
@@ -1201,7 +1201,7 @@ static UINT HTTP_DecodeBase64( LPCWSTR base64, LPSTR bin )
}
/***********************************************************************
* HTTP_InsertAuthorization
ForHeader
* HTTP_InsertAuthorization
*
* Insert or delete the authorization field in the request header.
*/
...
...
@@ -1268,7 +1268,7 @@ static WCHAR *HTTP_BuildProxyRequestUrl(WININETHTTPREQW *req)
size
=
15
;
/* "http://" + sizeof(port#) + ":/\0" */
size
+=
strlenW
(
session
->
lpszHostName
)
+
strlenW
(
req
->
lpszPath
);
if
(
!
(
url
=
HeapAlloc
(
GetProcessHeap
(),
0
,
size
*
sizeof
(
WCHAR
)
)))
return
FALSE
;
if
(
!
(
url
=
HeapAlloc
(
GetProcessHeap
(),
0
,
size
*
sizeof
(
WCHAR
)
)))
return
NULL
;
sprintfW
(
url
,
format
,
session
->
lpszHostName
,
session
->
nHostPort
);
if
(
req
->
lpszPath
[
0
]
!=
'/'
)
strcatW
(
url
,
slash
);
...
...
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