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
a1fd99cf
Commit
a1fd99cf
authored
Jul 11, 2022
by
Zebediah Figura
Committed by
Alexandre Julliard
Jul 21, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Clear sock->errors[AFD_POLL_BIT_CONNECT_ERR] in sock_poll_event().
Give sock_dispatch_events() a more consistent scope.
parent
293c6d24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
sock.c
server/sock.c
+1
-3
No files found.
server/sock.c
View file @
a1fd99cf
...
...
@@ -1090,10 +1090,7 @@ static void sock_dispatch_events( struct sock *sock, enum connection_state prevs
case
SOCK_CONNECTING
:
if
(
event
&
POLLOUT
)
{
post_socket_event
(
sock
,
AFD_POLL_BIT_CONNECT
,
0
);
sock
->
errors
[
AFD_POLL_BIT_CONNECT_ERR
]
=
0
;
}
if
(
event
&
(
POLLERR
|
POLLHUP
))
post_socket_event
(
sock
,
AFD_POLL_BIT_CONNECT_ERR
,
error
);
break
;
...
...
@@ -1149,6 +1146,7 @@ static void sock_poll_event( struct fd *fd, int event )
{
sock
->
state
=
SOCK_CONNECTED
;
sock
->
connect_time
=
current_time
;
sock
->
errors
[
AFD_POLL_BIT_CONNECT_ERR
]
=
0
;
}
break
;
...
...
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