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
12f3e27b
Commit
12f3e27b
authored
May 04, 2021
by
Zebediah Figura
Committed by
Alexandre Julliard
May 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Map EADDRINUSE to STATUS_SHARING_VIOLATION.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7a934b70
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
sock.c
server/sock.c
+1
-1
trace.c
server/trace.c
+0
-1
No files found.
server/sock.c
View file @
12f3e27b
...
...
@@ -1303,7 +1303,7 @@ static int 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
;
...
...
server/trace.c
View file @
12f3e27b
...
...
@@ -5290,7 +5290,6 @@ static const struct
{
"ABANDONED_WAIT_0"
,
STATUS_ABANDONED_WAIT_0
},
{
"ACCESS_DENIED"
,
STATUS_ACCESS_DENIED
},
{
"ACCESS_VIOLATION"
,
STATUS_ACCESS_VIOLATION
},
{
"ADDRESS_ALREADY_ASSOCIATED"
,
STATUS_ADDRESS_ALREADY_ASSOCIATED
},
{
"ALERTED"
,
STATUS_ALERTED
},
{
"BAD_DEVICE_TYPE"
,
STATUS_BAD_DEVICE_TYPE
},
{
"BAD_IMPERSONATION_LEVEL"
,
STATUS_BAD_IMPERSONATION_LEVEL
},
...
...
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