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
c3f2ecea
Commit
c3f2ecea
authored
Aug 12, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Aug 13, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32: Add debug support for IrDA addresses.
parent
f166a9df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
socket.c
dlls/ws2_32/socket.c
+10
-0
No files found.
dlls/ws2_32/socket.c
View file @
c3f2ecea
...
@@ -197,6 +197,16 @@ static inline const char *debugstr_sockaddr( const struct WS_sockaddr *a )
...
@@ -197,6 +197,16 @@ static inline const char *debugstr_sockaddr( const struct WS_sockaddr *a )
return
wine_dbg_sprintf
(
"{ family AF_INET6, address %s, port %d }"
,
return
wine_dbg_sprintf
(
"{ family AF_INET6, address %s, port %d }"
,
p
,
ntohs
(
sin
->
sin6_port
));
p
,
ntohs
(
sin
->
sin6_port
));
}
}
case
WS_AF_IRDA
:
{
DWORD
addr
;
memcpy
(
&
addr
,
((
const
SOCKADDR_IRDA
*
)
a
)
->
irdaDeviceID
,
sizeof
(
addr
)
);
addr
=
ntohl
(
addr
);
return
wine_dbg_sprintf
(
"{ family AF_IRDA, addr %08x, name %s }"
,
addr
,
((
const
SOCKADDR_IRDA
*
)
a
)
->
irdaServiceName
);
}
default:
default:
return
wine_dbg_sprintf
(
"{ family %d }"
,
a
->
sa_family
);
return
wine_dbg_sprintf
(
"{ family %d }"
,
a
->
sa_family
);
}
}
...
...
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