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:
d4ef6b6
)
conncheck: fix timer remainder return value
author
Fabrice Bellet
<fabrice@bellet.info>
Wed, 5 Feb 2020 21:04:16 +0000
(21:04 +0000)
committer
Olivier CrĂȘte
<olivier.crete@ocrete.ca>
Wed, 5 Feb 2020 21:04:16 +0000
(21:04 +0000)
We show the timer remainder in milliseconds.
agent/conncheck.c
patch
|
blob
|
history
diff --git
a/agent/conncheck.c
b/agent/conncheck.c
index
215125b
..
0297384
100644
(file)
--- a/
agent/conncheck.c
+++ b/
agent/conncheck.c
@@
-85,7
+85,7
@@
static gint64 priv_timer_remainder (gint64 timer, gint64 now)
if (now >= timer)
return 0;
- return
timer - now
;
+ return
(timer - now) / 1000
;
}
static gchar