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
70533219
Commit
70533219
authored
May 24, 2006
by
Andrew Ziem
Committed by
Alexandre Julliard
May 25, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Constify data.
parent
122b8003
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
http.c
dlls/wininet/http.c
+1
-1
urlcache.c
dlls/wininet/urlcache.c
+2
-2
No files found.
dlls/wininet/http.c
View file @
70533219
...
...
@@ -2068,7 +2068,7 @@ static BOOL HTTP_HandleRedirect(LPWININETHTTPREQW lpwhr, LPCWSTR lpszUrl, LPCWST
urlComponents
.
nPort
!=
INTERNET_DEFAULT_HTTPS_PORT
)
{
int
len
;
static
WCHAR
fmt
[]
=
{
'%'
,
's'
,
':'
,
'%'
,
'i'
,
0
};
static
const
WCHAR
fmt
[]
=
{
'%'
,
's'
,
':'
,
'%'
,
'i'
,
0
};
len
=
lstrlenW
(
hostName
);
len
+=
7
;
/* 5 for strlen("65535") + 1 for ":" + 1 for '\0' */
lpwhs
->
lpszHostName
=
HeapAlloc
(
GetProcessHeap
(),
0
,
len
*
sizeof
(
WCHAR
));
...
...
dlls/wininet/urlcache.c
View file @
70533219
...
...
@@ -1897,7 +1897,7 @@ BOOL WINAPI CreateUrlCacheEntryW(
LONG
lBufferSize
;
BOOL
bFound
=
FALSE
;
int
count
;
static
WCHAR
szWWW
[]
=
{
'w'
,
'w'
,
'w'
,
0
};
static
const
WCHAR
szWWW
[]
=
{
'w'
,
'w'
,
'w'
,
0
};
TRACE
(
"(%s, 0x%08lx, %s, %p, 0x%08lx)
\n
"
,
debugstr_w
(
lpszUrlName
),
...
...
@@ -1990,7 +1990,7 @@ BOOL WINAPI CreateUrlCacheEntryW(
for
(
i
=
0
;
i
<
255
;
i
++
)
{
static
WCHAR
szFormat
[]
=
{
'['
,
'%'
,
'u'
,
']'
,
'%'
,
's'
,
0
};
static
const
WCHAR
szFormat
[]
=
{
'['
,
'%'
,
'u'
,
']'
,
'%'
,
's'
,
0
};
HANDLE
hFile
;
wsprintfW
(
lpszFileNameNoPath
+
countnoextension
,
szFormat
,
i
,
szExtension
);
TRACE
(
"Trying: %s
\n
"
,
debugstr_w
(
lpszFileName
));
...
...
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