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
2895f0fd
Commit
2895f0fd
authored
Feb 04, 2022
by
Zebediah Figura
Committed by
Alexandre Julliard
Feb 07, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32: Avoid an unnecessary goto.
Signed-off-by:
Zebediah Figura
<
zfigura@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
186b99c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
socket.c
dlls/ws2_32/socket.c
+3
-7
No files found.
dlls/ws2_32/socket.c
View file @
2895f0fd
...
...
@@ -3305,8 +3305,9 @@ SOCKET WINAPI WSASocketW(int af, int type, int protocol,
if
(
!
num_startup
)
{
err
=
WSANOTINITIALISED
;
goto
done
;
WARN
(
"not initialised
\n
"
);
SetLastError
(
WSANOTINITIALISED
);
return
-
1
;
}
/* hack for WSADuplicateSocket */
...
...
@@ -3406,11 +3407,6 @@ SOCKET WINAPI WSASocketW(int af, int type, int protocol,
}
WSASetLastError
(
0
);
return
ret
;
done:
WARN
(
"
\t\t
failed, error %d!
\n
"
,
err
);
SetLastError
(
err
);
return
INVALID_SOCKET
;
}
/***********************************************************************
...
...
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