projects
/
oweals
/
uhttpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6148c4c
)
ubus: rename uloop_timeout_pending() to uloop_timeout_remaining()
author
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 23 Jan 2013 18:36:16 +0000
(19:36 +0100)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 23 Jan 2013 18:36:16 +0000
(19:36 +0100)
ubus-session.c
patch
|
blob
|
history
diff --git
a/ubus-session.c
b/ubus-session.c
index e590d9c4bef10d228a9e6c5741b9fc1e8043e796..83544892ca21d6c756dc3de60cce830876d2db98 100644
(file)
--- 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_
pend
ing(&ses->t) / 1000);
+ blobmsg_add_u32(&buf, "expires", uloop_timeout_
remain
ing(&ses->t) / 1000);
c = blobmsg_open_table(&buf, "acls");
uh_ubus_session_dump_acls(ses, &buf);