projects
/
platform
/
upstream
/
libnice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a78ca4
)
agent: Remove test that is not required
author
Olivier Crête
<olivier.crete@collabora.com>
Fri, 22 May 2020 22:07:30 +0000
(18:07 -0400)
committer
Olivier Crête
<olivier.crete@collabora.com>
Fri, 22 May 2020 22:07:30 +0000
(18:07 -0400)
The stream and component pointers are always valid there.
agent/agent.c
patch
|
blob
|
history
diff --git
a/agent/agent.c
b/agent/agent.c
index
7bbf74a
..
9b67ec1
100644
(file)
--- a/
agent/agent.c
+++ b/
agent/agent.c
@@
-2024,8
+2024,9
@@
pseudo_tcp_socket_readable (PseudoTcpSocket *sock, gpointer user_data)
nice_debug ("%s: no data read", G_STRFUNC);
}
- if (stream && component)
- adjust_tcp_clock (agent, stream, component);
+ g_assert (stream);
+ g_assert (component);
+ adjust_tcp_clock (agent, stream, component);
out: