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
43a1a248
Commit
43a1a248
authored
Jun 16, 2021
by
Zebediah Figura
Committed by
Alexandre Julliard
Jun 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Correctly access the sir_lsap_sel field.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
fb648144
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sock.c
server/sock.c
+2
-2
No files found.
server/sock.c
View file @
43a1a248
...
...
@@ -427,10 +427,10 @@ static socklen_t sockaddr_to_unix( const struct WS_sockaddr *wsaddr, int wsaddrl
memcpy
(
&
win
,
wsaddr
,
sizeof
(
win
)
);
uaddr
->
irda
.
sir_family
=
AF_IRDA
;
if
(
sscanf
(
win
.
irdaServiceName
,
"LSAP-SEL%u"
,
&
lsap_sel
)
==
1
)
uaddr
->
sir_lsap_sel
=
lsap_sel
;
uaddr
->
irda
.
sir_lsap_sel
=
lsap_sel
;
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_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