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
d8d313d1
Commit
d8d313d1
authored
May 16, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed struct msghdr access for platforms that have msg_accrights
(reported by Warren Baird).
parent
f8369ded
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
socket.c
dlls/winsock/socket.c
+10
-0
No files found.
dlls/winsock/socket.c
View file @
d8d313d1
...
...
@@ -1141,9 +1141,14 @@ static int WS2_recv ( int fd, struct iovec* iov, int count,
hdr
.
msg_iov
=
iov
;
hdr
.
msg_iovlen
=
count
;
#ifdef HAVE_MSGHDR_ACCRIGHTS
hdr
.
msg_accrights
=
NULL
;
hdr
.
msg_accrightslen
=
0
;
#else
hdr
.
msg_control
=
NULL
;
hdr
.
msg_controllen
=
0
;
hdr
.
msg_flags
=
0
;
#endif
if
(
(
n
=
recvmsg
(
fd
,
&
hdr
,
*
lpFlags
))
==
-
1
)
{
...
...
@@ -1245,9 +1250,14 @@ static int WS2_send ( int fd, struct iovec* iov, int count,
hdr
.
msg_iov
=
iov
;
hdr
.
msg_iovlen
=
count
;
#ifdef HAVE_MSGHDR_ACCRIGHTS
hdr
.
msg_accrights
=
NULL
;
hdr
.
msg_accrightslen
=
0
;
#else
hdr
.
msg_control
=
NULL
;
hdr
.
msg_controllen
=
0
;
hdr
.
msg_flags
=
0
;
#endif
n
=
sendmsg
(
fd
,
&
hdr
,
dwFlags
);
...
...
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