From 7dea5d994ea8c1b753b734edb27fdaf7c948c326 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 23 Jan 2013 19:36:16 +0100 Subject: [PATCH] ubus: rename uloop_timeout_pending() to uloop_timeout_remaining() --- ubus-session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1