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
aa6242ea
Commit
aa6242ea
authored
Nov 01, 2010
by
Marcus Lundblad
Committed by
Youness Alaoui
Dec 14, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnessesary changes
parent
8d87008a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
agent/interfaces.c
agent/interfaces.c
+1
-0
stun/stunagent.c
stun/stunagent.c
+0
-3
No files found.
agent/interfaces.c
View file @
aa6242ea
...
@@ -173,6 +173,7 @@ nice_interfaces_get_local_ips (gboolean include_loopback)
...
@@ -173,6 +173,7 @@ nice_interfaces_get_local_ips (gboolean include_loopback)
struct
ifaddrs
*
ifa
,
*
results
;
struct
ifaddrs
*
ifa
,
*
results
;
GList
*
loopbacks
=
NULL
;
GList
*
loopbacks
=
NULL
;
if
(
getifaddrs
(
&
results
)
<
0
)
if
(
getifaddrs
(
&
results
)
<
0
)
return
NULL
;
return
NULL
;
...
...
stun/stunagent.c
View file @
aa6242ea
...
@@ -43,7 +43,6 @@
...
@@ -43,7 +43,6 @@
#include "stunhmac.h"
#include "stunhmac.h"
#include "stun5389.h"
#include "stun5389.h"
#include "utils.h"
#include "utils.h"
#include "debug.h"
#include <string.h>
#include <string.h>
#include <stdlib.h>
#include <stdlib.h>
...
@@ -549,7 +548,6 @@ size_t stun_agent_finish_message (StunAgent *agent, StunMessage *msg,
...
@@ -549,7 +548,6 @@ size_t stun_agent_finish_message (StunAgent *agent, StunMessage *msg,
STUN_ATTRIBUTE_REALM
,
&
realm_len
);
STUN_ATTRIBUTE_REALM
,
&
realm_len
);
username
=
(
uint8_t
*
)
stun_message_find
(
msg
,
username
=
(
uint8_t
*
)
stun_message_find
(
msg
,
STUN_ATTRIBUTE_USERNAME
,
&
username_len
);
STUN_ATTRIBUTE_USERNAME
,
&
username_len
);
if
(
username
==
NULL
||
realm
==
NULL
)
{
if
(
username
==
NULL
||
realm
==
NULL
)
{
skip
=
TRUE
;
skip
=
TRUE
;
}
else
{
}
else
{
...
@@ -642,7 +640,6 @@ size_t stun_agent_finish_message (StunAgent *agent, StunMessage *msg,
...
@@ -642,7 +640,6 @@ size_t stun_agent_finish_message (StunAgent *agent, StunMessage *msg,
msg
->
key
=
(
uint8_t
*
)
key
;
msg
->
key
=
(
uint8_t
*
)
key
;
msg
->
key_len
=
key_len
;
msg
->
key_len
=
key_len
;
return
stun_message_length
(
msg
);
return
stun_message_length
(
msg
);
}
}
...
...
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