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
7a934b70
Commit
7a934b70
authored
May 04, 2021
by
Zebediah Figura
Committed by
Alexandre Julliard
May 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32: Map EADDRINUSE to STATUS_SHARING_VIOLATION.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4f4dc095
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 @
7a934b70
...
...
@@ -829,7 +829,7 @@ static NTSTATUS sock_get_ntstatus( int err )
case
EPROTOTYPE
:
return
STATUS_NOT_SUPPORTED
;
case
ENOPROTOOPT
:
return
STATUS_INVALID_PARAMETER
;
case
EOPNOTSUPP
:
return
STATUS_NOT_SUPPORTED
;
case
EADDRINUSE
:
return
STATUS_
ADDRESS_ALREADY_ASSOCIATED
;
case
EADDRINUSE
:
return
STATUS_
SHARING_VIOLATION
;
case
EADDRNOTAVAIL
:
return
STATUS_INVALID_PARAMETER
;
case
ECONNREFUSED
:
return
STATUS_CONNECTION_REFUSED
;
case
ESHUTDOWN
:
return
STATUS_PIPE_DISCONNECTED
;
...
...
@@ -956,7 +956,7 @@ static NTSTATUS sock_error_to_ntstatus( DWORD err )
case
WSAEPROTOTYPE
:
return
STATUS_NOT_SUPPORTED
;
case
WSAENOPROTOOPT
:
return
STATUS_INVALID_PARAMETER
;
case
WSAEOPNOTSUPP
:
return
STATUS_NOT_SUPPORTED
;
case
WSAEADDRINUSE
:
return
STATUS_
ADDRESS_ALREADY_ASSOCIATED
;
case
WSAEADDRINUSE
:
return
STATUS_
SHARING_VIOLATION
;
case
WSAEADDRNOTAVAIL
:
return
STATUS_INVALID_PARAMETER
;
case
WSAECONNREFUSED
:
return
STATUS_CONNECTION_REFUSED
;
case
WSAESHUTDOWN
:
return
STATUS_PIPE_DISCONNECTED
;
...
...
@@ -989,7 +989,7 @@ static DWORD NtStatusToWSAError( DWORD status )
case
STATUS_CONNECTION_RESET
:
return
WSAECONNRESET
;
case
STATUS_CONNECTION_ABORTED
:
return
WSAECONNABORTED
;
case
STATUS_CANCELLED
:
return
WSA_OPERATION_ABORTED
;
case
STATUS_
ADDRESS_ALREADY_ASSOCIATED
:
return
WSAEADDRINUSE
;
case
STATUS_
SHARING_VIOLATION
:
return
WSAEADDRINUSE
;
case
STATUS_IO_TIMEOUT
:
case
STATUS_TIMEOUT
:
return
WSAETIMEDOUT
;
case
STATUS_NO_MEMORY
:
return
WSAEFAULT
;
...
...
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