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
456773fd
Commit
456773fd
authored
Mar 06, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Always pass a ULONG variable to ioctlsocket.
parent
847a2937
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
netconnection.c
dlls/wininet/netconnection.c
+4
-3
No files found.
dlls/wininet/netconnection.c
View file @
456773fd
...
...
@@ -607,7 +607,8 @@ static DWORD init_openssl(void)
static
DWORD
create_netconn_socket
(
server_t
*
server
,
netconn_t
*
netconn
,
DWORD
timeout
)
{
int
result
,
flag
;
int
result
;
ULONG
flag
;
assert
(
server
->
addr_len
);
result
=
netconn
->
socket
=
socket
(
server
->
addr
.
ss_family
,
SOCK_STREAM
,
0
);
...
...
@@ -633,7 +634,7 @@ static DWORD create_netconn_socket(server_t *server, netconn_t *netconn, DWORD t
{
int
err
;
socklen_t
len
=
sizeof
(
err
);
if
(
!
getsockopt
(
netconn
->
socket
,
SOL_SOCKET
,
SO_ERROR
,
&
err
,
&
len
)
&&
!
err
)
if
(
!
getsockopt
(
netconn
->
socket
,
SOL_SOCKET
,
SO_ERROR
,
(
void
*
)
&
err
,
&
len
)
&&
!
err
)
result
=
0
;
}
}
...
...
@@ -1003,7 +1004,7 @@ BOOL NETCON_query_data_available(netconn_t *connection, DWORD *available)
if
(
!
connection
->
secure
)
{
#ifdef FIONREAD
int
unread
;
ULONG
unread
;
int
retval
=
ioctlsocket
(
connection
->
socket
,
FIONREAD
,
&
unread
);
if
(
!
retval
)
{
...
...
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