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
7dbba8c3
Commit
7dbba8c3
authored
Feb 05, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Feb 05, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: Remove superfluous pointer casts.
parent
e89386a5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
net.c
dlls/winhttp/net.c
+1
-1
request.c
dlls/winhttp/request.c
+2
-2
No files found.
dlls/winhttp/net.c
View file @
7dbba8c3
...
...
@@ -607,7 +607,7 @@ BOOL netconn_resolve( WCHAR *hostnameW, INTERNET_PORT port, struct sockaddr_in *
return
FALSE
;
}
memset
(
sa
,
0
,
sizeof
(
struct
sockaddr_in
)
);
memcpy
(
(
char
*
)
&
sa
->
sin_addr
,
he
->
h_addr
,
he
->
h_length
);
memcpy
(
&
sa
->
sin_addr
,
he
->
h_addr
,
he
->
h_length
);
sa
->
sin_family
=
he
->
h_addrtype
;
sa
->
sin_port
=
htons
(
port
);
...
...
dlls/winhttp/request.c
View file @
7dbba8c3
...
...
@@ -566,7 +566,7 @@ static BOOL query_headers( request_t *request, DWORD level, LPCWSTR name, LPVOID
}
else
if
(
buffer
)
{
for
(
p
=
headers
,
q
=
(
WCHAR
*
)
buffer
;
*
p
;
p
++
,
q
++
)
for
(
p
=
headers
,
q
=
buffer
;
*
p
;
p
++
,
q
++
)
{
if
(
*
p
!=
'\r'
)
*
q
=
*
p
;
else
...
...
@@ -576,7 +576,7 @@ static BOOL query_headers( request_t *request, DWORD level, LPCWSTR name, LPVOID
}
}
*
q
=
0
;
TRACE
(
"returning data: %s
\n
"
,
debugstr_wn
(
(
WCHAR
*
)
buffer
,
len
));
TRACE
(
"returning data: %s
\n
"
,
debugstr_wn
(
buffer
,
len
));
ret
=
TRUE
;
}
*
buflen
=
len
*
sizeof
(
WCHAR
);
...
...
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