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
7bde27bf
Commit
7bde27bf
authored
Sep 16, 2008
by
Youness Alaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix trailing spaces and comments
parent
65d4782c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
agent/agent.c
agent/agent.c
+1
-1
agent/conncheck.c
agent/conncheck.c
+3
-5
No files found.
agent/agent.c
View file @
7bde27bf
...
...
@@ -713,7 +713,7 @@ priv_add_new_candidate_discovery_turn (NiceAgent *agent,
STUN_AGENT_USAGE_SHORT_TERM_CREDENTIALS
);
}
nice_debug
(
"Agent %p : Adding new
srv
-rflx candidate discovery %p
\n
"
,
agent
,
cdisco
);
nice_debug
(
"Agent %p : Adding new
relay
-rflx candidate discovery %p
\n
"
,
agent
,
cdisco
);
agent
->
discovery_list
=
modified_list
;
++
agent
->
discovery_unsched_items
;
}
...
...
agent/conncheck.c
View file @
7bde27bf
...
...
@@ -393,7 +393,6 @@ static gboolean priv_conn_check_tick_unlocked (gpointer pointer)
Stream
*
stream
=
i
->
data
;
pair
=
priv_conn_check_find_next_waiting
(
stream
->
conncheck_list
);
if
(
pair
)
break
;
}
...
...
@@ -703,6 +702,7 @@ static gboolean priv_update_selected_pair (NiceAgent *agent, Component *componen
component
->
selected_pair
.
priority
=
pair
->
priority
;
agent_signal_new_selected_pair
(
agent
,
pair
->
stream_id
,
component
->
id
,
pair
->
local
->
foundation
,
pair
->
remote
->
foundation
);
}
return
TRUE
;
...
...
@@ -733,12 +733,10 @@ static void priv_update_check_list_failed_components (NiceAgent *agent, Stream *
if
(
p
->
stream_id
==
stream
->
id
&&
p
->
component_id
==
(
c
+
1
))
{
if
(
p
->
state
!=
NICE_CHECK_FAILED
)
break
;
}
}
/* note: all checks have failed */
if
(
i
==
NULL
)
agent_signal_component_state_change
(
agent
,
...
...
@@ -1764,7 +1762,7 @@ static gboolean priv_map_reply_to_relay_request (NiceAgent *agent, StunMessage *
res
=
stun_usage_turn_process
(
resp
,
&
relayaddr
,
&
relayaddrlen
,
&
sockaddr
,
&
socklen
,
&
alternate
,
&
alternatelen
,
&
bandwidth
,
&
lifetime
,
priv_agent_to_turn_compatibility
(
agent
));
nice_debug
(
"Agent %p : stun_
bind
_process/disc for %p res %d."
,
nice_debug
(
"Agent %p : stun_
turn
_process/disc for %p res %d."
,
agent
,
d
,
(
int
)
res
);
if
(
res
==
STUN_USAGE_TURN_RETURN_ALTERNATE_SERVER
)
{
...
...
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