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
4b9a095e
Commit
4b9a095e
authored
Sep 27, 2023
by
Paul Gofman
Committed by
Alexandre Julliard
Oct 05, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Map EDESTADDRREQ to STATUS_INVALID_CONNECTION.
parent
2c274062
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
socket.c
dlls/ntdll/unix/socket.c
+1
-1
sock.c
dlls/ws2_32/tests/sock.c
+2
-2
No files found.
dlls/ntdll/unix/socket.c
View file @
4b9a095e
...
...
@@ -169,7 +169,7 @@ static NTSTATUS sock_errno_to_status( int err )
case
EWOULDBLOCK
:
return
STATUS_DEVICE_NOT_READY
;
case
EALREADY
:
return
STATUS_NETWORK_BUSY
;
case
ENOTSOCK
:
return
STATUS_OBJECT_TYPE_MISMATCH
;
case
EDESTADDRREQ
:
return
STATUS_INVALID_
PARAMETER
;
case
EDESTADDRREQ
:
return
STATUS_INVALID_
CONNECTION
;
case
EMSGSIZE
:
return
STATUS_BUFFER_OVERFLOW
;
case
EPROTONOSUPPORT
:
case
ESOCKTNOSUPPORT
:
...
...
dlls/ws2_32/tests/sock.c
View file @
4b9a095e
...
...
@@ -13901,7 +13901,7 @@ static void test_connect_udp(void)
SetLastError
(
0xdeadbeef
);
ret
=
send
(
client
,
"data"
,
4
,
0
);
ok
(
ret
==
-
1
,
"got %d
\n
"
,
ret
);
todo_wine
ok
(
GetLastError
()
==
WSAENOTCONN
,
"got error %lu
\n
"
,
GetLastError
());
ok
(
GetLastError
()
==
WSAENOTCONN
,
"got error %lu
\n
"
,
GetLastError
());
SetLastError
(
0xdeadbeef
);
ret
=
recv
(
server
,
buffer
,
sizeof
(
buffer
),
0
);
...
...
@@ -13949,7 +13949,7 @@ static void test_connect_udp(void)
SetLastError
(
0xdeadbeef
);
ret
=
send
(
server
,
"data"
,
4
,
0
);
ok
(
ret
==
-
1
,
"got %d
\n
"
,
ret
);
todo_wine
ok
(
GetLastError
()
==
WSAENOTCONN
,
"got error %lu
\n
"
,
GetLastError
());
ok
(
GetLastError
()
==
WSAENOTCONN
,
"got error %lu
\n
"
,
GetLastError
());
ret
=
connect
(
client
,
(
struct
sockaddr
*
)
&
addr
,
sizeof
(
addr
));
ok
(
!
ret
,
"got error %lu
\n
"
,
GetLastError
());
...
...
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