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
0c792806
Commit
0c792806
authored
Jun 10, 2022
by
Piotr Caban
Committed by
Alexandre Julliard
Jun 13, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Don't reset socket error in IOCTL_AFD_GET_SO_ERROR.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
parent
73648f90
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
sock.c
server/sock.c
+1
-7
No files found.
server/sock.c
View file @
0c792806
...
...
@@ -2797,7 +2797,6 @@ static void sock_ioctl( struct fd *fd, ioctl_code_t code, struct async *async )
case
IOCTL_AFD_WINE_GET_SO_ERROR
:
{
int
error
;
socklen_t
len
=
sizeof
(
error
);
unsigned
int
i
;
if
(
get_reply_max_size
()
<
sizeof
(
error
))
...
...
@@ -2806,12 +2805,7 @@ static void sock_ioctl( struct fd *fd, ioctl_code_t code, struct async *async )
return
;
}
if
(
getsockopt
(
unix_fd
,
SOL_SOCKET
,
SO_ERROR
,
(
char
*
)
&
error
,
&
len
)
<
0
)
{
set_error
(
sock_get_ntstatus
(
errno
)
);
return
;
}
error
=
sock_error
(
sock
);
if
(
!
error
)
{
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
sock
->
errors
);
++
i
)
...
...
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