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
f482eed2
Commit
f482eed2
authored
Feb 19, 2017
by
Bruno Jesus
Committed by
Alexandre Julliard
Feb 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32: Trace accept() error.
Signed-off-by:
Bruno Jesus
<
00cpxxx@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
312dc5dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
socket.c
dlls/ws2_32/socket.c
+3
-4
No files found.
dlls/ws2_32/socket.c
View file @
f482eed2
...
...
@@ -2737,10 +2737,7 @@ SOCKET WINAPI WS_accept(SOCKET s, struct WS_sockaddr *addr, int *addrlen32)
TRACE
(
"socket %04lx
\n
"
,
s
);
status
=
_is_blocking
(
s
,
&
is_blocking
);
if
(
status
)
{
set_error
(
status
);
return
INVALID_SOCKET
;
}
goto
error
;
do
{
/* try accepting first (if there is a deferred connection) */
...
...
@@ -2773,7 +2770,9 @@ SOCKET WINAPI WS_accept(SOCKET s, struct WS_sockaddr *addr, int *addrlen32)
}
}
while
(
is_blocking
&&
status
==
STATUS_CANT_WAIT
);
error:
set_error
(
status
);
WARN
(
" -> ERROR %d
\n
"
,
GetLastError
());
return
INVALID_SOCKET
;
}
...
...
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