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
cbd4f85a
Commit
cbd4f85a
authored
May 05, 2021
by
Zebediah Figura
Committed by
Alexandre Julliard
May 06, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32: Map ENOTCONN to STATUS_INVALID_CONNECTION.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e2aa30f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
socket.c
dlls/ws2_32/socket.c
+3
-3
No files found.
dlls/ws2_32/socket.c
View file @
cbd4f85a
...
...
@@ -833,7 +833,7 @@ static NTSTATUS sock_get_ntstatus( int err )
case
EADDRNOTAVAIL
:
return
STATUS_INVALID_PARAMETER
;
case
ECONNREFUSED
:
return
STATUS_CONNECTION_REFUSED
;
case
ESHUTDOWN
:
return
STATUS_PIPE_DISCONNECTED
;
case
ENOTCONN
:
return
STATUS_
CONNECTION_DISCONNECTED
;
case
ENOTCONN
:
return
STATUS_
INVALID_CONNECTION
;
case
ETIMEDOUT
:
return
STATUS_IO_TIMEOUT
;
case
ENETUNREACH
:
return
STATUS_NETWORK_UNREACHABLE
;
case
ENETDOWN
:
return
STATUS_NETWORK_BUSY
;
...
...
@@ -960,7 +960,7 @@ static NTSTATUS sock_error_to_ntstatus( DWORD err )
case
WSAEADDRNOTAVAIL
:
return
STATUS_INVALID_PARAMETER
;
case
WSAECONNREFUSED
:
return
STATUS_CONNECTION_REFUSED
;
case
WSAESHUTDOWN
:
return
STATUS_PIPE_DISCONNECTED
;
case
WSAENOTCONN
:
return
STATUS_
CONNECTION_DISCONNECTED
;
case
WSAENOTCONN
:
return
STATUS_
INVALID_CONNECTION
;
case
WSAETIMEDOUT
:
return
STATUS_IO_TIMEOUT
;
case
WSAENETUNREACH
:
return
STATUS_NETWORK_UNREACHABLE
;
case
WSAENETDOWN
:
return
STATUS_NETWORK_BUSY
;
...
...
@@ -985,7 +985,7 @@ static DWORD NtStatusToWSAError( DWORD status )
case
STATUS_NETWORK_BUSY
:
return
WSAEALREADY
;
case
STATUS_NETWORK_UNREACHABLE
:
return
WSAENETUNREACH
;
case
STATUS_CONNECTION_REFUSED
:
return
WSAECONNREFUSED
;
case
STATUS_
CONNECTION_DISCONNECTED
:
return
WSAENOTCONN
;
case
STATUS_
INVALID_CONNECTION
:
return
WSAENOTCONN
;
case
STATUS_CONNECTION_RESET
:
return
WSAECONNRESET
;
case
STATUS_CONNECTION_ABORTED
:
return
WSAECONNABORTED
;
case
STATUS_CANCELLED
:
return
WSA_OPERATION_ABORTED
;
...
...
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