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
44ea5334
Commit
44ea5334
authored
Sep 16, 2013
by
Bruno Jesus
Committed by
Alexandre Julliard
Sep 16, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32: Avoid magic numbers.
parent
e0581b38
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
socket.c
dlls/ws2_32/socket.c
+2
-2
No files found.
dlls/ws2_32/socket.c
View file @
44ea5334
...
@@ -1670,7 +1670,7 @@ static INT WS_EnterSingleProtocolW( INT protocol, WSAPROTOCOL_INFOW* info )
...
@@ -1670,7 +1670,7 @@ static INT WS_EnterSingleProtocolW( INT protocol, WSAPROTOCOL_INFOW* info )
info
->
iAddressFamily
=
WS_AF_IPX
;
info
->
iAddressFamily
=
WS_AF_IPX
;
info
->
iMaxSockAddr
=
0x10
;
info
->
iMaxSockAddr
=
0x10
;
info
->
iMinSockAddr
=
0x0e
;
info
->
iMinSockAddr
=
0x0e
;
info
->
iSocketType
=
5
;
info
->
iSocketType
=
WS_SOCK_SEQPACKET
;
info
->
dwMessageSize
=
0xffffffff
;
info
->
dwMessageSize
=
0xffffffff
;
strcpyW
(
info
->
szProtocol
,
NameSpxW
);
strcpyW
(
info
->
szProtocol
,
NameSpxW
);
break
;
break
;
...
@@ -1687,7 +1687,7 @@ static INT WS_EnterSingleProtocolW( INT protocol, WSAPROTOCOL_INFOW* info )
...
@@ -1687,7 +1687,7 @@ static INT WS_EnterSingleProtocolW( INT protocol, WSAPROTOCOL_INFOW* info )
info
->
iAddressFamily
=
WS_AF_IPX
;
info
->
iAddressFamily
=
WS_AF_IPX
;
info
->
iMaxSockAddr
=
0x10
;
info
->
iMaxSockAddr
=
0x10
;
info
->
iMinSockAddr
=
0x0e
;
info
->
iMinSockAddr
=
0x0e
;
info
->
iSocketType
=
5
;
info
->
iSocketType
=
WS_SOCK_SEQPACKET
;
info
->
dwMessageSize
=
0xffffffff
;
info
->
dwMessageSize
=
0xffffffff
;
strcpyW
(
info
->
szProtocol
,
NameSpxIIW
);
strcpyW
(
info
->
szProtocol
,
NameSpxIIW
);
break
;
break
;
...
...
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