projects
/
project
/
omcproxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
722151f
)
groups: use uloop_timeout_remaining64
author
Stijn Tintel
<
[email protected]
>
Thu, 4 Nov 2021 11:41:19 +0000
(13:41 +0200)
committer
Stijn Tintel
<
[email protected]
>
Thu, 4 Nov 2021 12:50:44 +0000
(14:50 +0200)
The uloop_timeout_remaining function is being deprecated.
Signed-off-by: Stijn Tintel <
[email protected]
>
Acked-by: Jo-Philipp Wich <
[email protected]
>
src/groups.c
patch
|
blob
|
history
diff --git
a/src/groups.c
b/src/groups.c
index 38fa914eafa11fef98eb3ec976dea024d30fe75a..92f1db3f1e435e715f3f4226176f01c01124df39 100644
(file)
--- a/
src/groups.c
+++ b/
src/groups.c
@@
-158,7
+158,7
@@
static omgp_time_t expire_group(struct groups *groups, struct group *group,
// Rearm the global groups-timer if the next event is before timer expiration
static void rearm_timer(struct groups *groups, int msecs)
{
- int
remain = uloop_timeout_remaining
(&groups->timer);
+ int
64_t remain = uloop_timeout_remaining64
(&groups->timer);
if (remain < 0 || remain >= msecs)
uloop_timeout_set(&groups->timer, msecs);
}