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
c2351cd9
Commit
c2351cd9
authored
May 29, 2021
by
Roberto Pungartnik
Committed by
Alexandre Julliard
May 31, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Fix IOCTL_AFD_WINE_SENDMSG irda member misreference.
Signed-off-by:
Roberto Augusto Pungartnik
<
rpungartnik@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2d629228
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
socket.c
dlls/ntdll/unix/socket.c
+2
-2
No files found.
dlls/ntdll/unix/socket.c
View file @
c2351cd9
...
@@ -255,10 +255,10 @@ static socklen_t sockaddr_to_unix( const struct WS_sockaddr *wsaddr, int wsaddrl
...
@@ -255,10 +255,10 @@ static socklen_t sockaddr_to_unix( const struct WS_sockaddr *wsaddr, int wsaddrl
memcpy
(
&
win
,
wsaddr
,
sizeof
(
win
)
);
memcpy
(
&
win
,
wsaddr
,
sizeof
(
win
)
);
uaddr
->
irda
.
sir_family
=
AF_IRDA
;
uaddr
->
irda
.
sir_family
=
AF_IRDA
;
if
(
sscanf
(
win
.
irdaServiceName
,
"LSAP-SEL%u"
,
&
lsap_sel
)
==
1
)
if
(
sscanf
(
win
.
irdaServiceName
,
"LSAP-SEL%u"
,
&
lsap_sel
)
==
1
)
uaddr
->
sir_lsap_sel
=
lsap_sel
;
uaddr
->
irda
.
sir_lsap_sel
=
lsap_sel
;
else
else
{
{
uaddr
->
sir_lsap_sel
=
LSAP_ANY
;
uaddr
->
irda
.
sir_lsap_sel
=
LSAP_ANY
;
memcpy
(
uaddr
->
irda
.
sir_name
,
win
.
irdaServiceName
,
sizeof
(
win
.
irdaServiceName
)
);
memcpy
(
uaddr
->
irda
.
sir_name
,
win
.
irdaServiceName
,
sizeof
(
win
.
irdaServiceName
)
);
}
}
memcpy
(
&
uaddr
->
irda
.
sir_addr
,
win
.
irdaDeviceID
,
sizeof
(
win
.
irdaDeviceID
)
);
memcpy
(
&
uaddr
->
irda
.
sir_addr
,
win
.
irdaDeviceID
,
sizeof
(
win
.
irdaDeviceID
)
);
...
...
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