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
9d68333f
Commit
9d68333f
authored
Apr 19, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Apr 19, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Use the same hashing function as native does.
parent
4c4c7c04
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
urlcache.c
dlls/wininet/urlcache.c
+2
-2
No files found.
dlls/wininet/urlcache.c
View file @
9d68333f
...
...
@@ -77,7 +77,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wininet);
#define HASHTABLE_LOCK 2
#define HASHTABLE_FREE 3
#define HASHTABLE_REDR 5
#define HASHTABLE_FLAG_BITS
4
#define HASHTABLE_FLAG_BITS
5
#define DWORD_SIG(a,b,c,d) (a | (b << 8) | (c << 16) | (d << 24))
#define URL_SIGNATURE DWORD_SIG('U','R','L',' ')
...
...
@@ -1228,7 +1228,7 @@ static DWORD URLCache_HashKey(LPCSTR lpszKey)
DWORD
i
;
for
(
i
=
0
;
i
<
sizeof
(
key
)
/
sizeof
(
key
[
0
]);
i
++
)
key
[
i
]
=
lookupTable
[
i
];
key
[
i
]
=
lookupTable
[
(
*
lpszKey
+
i
)
&
0xFF
];
for
(
lpszKey
++
;
*
lpszKey
&&
((
lpszKey
[
0
]
!=
'/'
)
||
(
lpszKey
[
1
]
!=
0
));
lpszKey
++
)
{
...
...
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