summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-01-23 19:36:16 +0100
committerJo-Philipp Wich <jow@openwrt.org>2013-01-23 19:36:16 +0100
commit7dea5d994ea8c1b753b734edb27fdaf7c948c326 (patch)
tree1d8fadbbd4b679b73ec5f5892e46df2fbb5cf5d2
parent6148c4c3a16197bcea9f2f4717719dfa390b4bee (diff)
ubus: rename uloop_timeout_pending() to uloop_timeout_remaining()
-rw-r--r--ubus-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubus-session.c b/ubus-session.c
index e590d9c..8354489 100644
--- a/ubus-session.c
+++ b/ubus-session.c
@@ -144,7 +144,7 @@ uh_ubus_session_dump(struct uh_ubus_session *ses,
blobmsg_add_string(&buf, "sid", ses->id);
blobmsg_add_u32(&buf, "timeout", ses->timeout);
- blobmsg_add_u32(&buf, "expires", uloop_timeout_pending(&ses->t) / 1000);
+ blobmsg_add_u32(&buf, "expires", uloop_timeout_remaining(&ses->t) / 1000);
c = blobmsg_open_table(&buf, "acls");
uh_ubus_session_dump_acls(ses, &buf);