Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
libnice
Commits
00521622
Commit
00521622
authored
Nov 12, 2009
by
Youness Alaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removing unused variable ret in nice_address_to_string
parent
834dcb91
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
agent/address.c
agent/address.c
+2
-5
No files found.
agent/address.c
View file @
00521622
...
...
@@ -247,15 +247,12 @@ nice_address_copy_to_sockaddr (const NiceAddress *addr,
NICEAPI_EXPORT
void
nice_address_to_string
(
const
NiceAddress
*
addr
,
gchar
*
dst
)
{
const
gchar
*
ret
=
NULL
;
switch
(
addr
->
s
.
addr
.
sa_family
)
{
case
AF_INET
:
ret
=
inet_ntop
(
AF_INET
,
&
addr
->
s
.
ip4
.
sin_addr
,
dst
,
INET_ADDRSTRLEN
);
inet_ntop
(
AF_INET
,
&
addr
->
s
.
ip4
.
sin_addr
,
dst
,
INET_ADDRSTRLEN
);
break
;
case
AF_INET6
:
ret
=
inet_ntop
(
AF_INET6
,
&
addr
->
s
.
ip6
.
sin6_addr
,
dst
,
INET6_ADDRSTRLEN
);
inet_ntop
(
AF_INET6
,
&
addr
->
s
.
ip6
.
sin6_addr
,
dst
,
INET6_ADDRSTRLEN
);
break
;
default:
g_return_if_reached
();
...
...
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