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:
7aea691
)
ubus: fix script timeout unit (seconds, not milliseconds)
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 30 May 2013 10:38:25 +0000
(12:38 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 30 May 2013 10:38:25 +0000
(12:38 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
ubus.c
patch
|
blob
|
history
diff --git
a/ubus.c
b/ubus.c
index 79e077af34e19f44da5bda56c66089ebf94855da..22901d8c589b737f7a320c5b62f2aaca37462a27 100644
(file)
--- a/
ubus.c
+++ b/
ubus.c
@@
-257,7
+257,7
@@
static void uh_ubus_send_request(struct client *cl, json_object *obj, struct blo
ubus_complete_request_async(ctx, &du->req);
du->timeout.cb = uh_ubus_timeout_cb;
- uloop_timeout_set(&du->timeout, conf.script_timeout);
+ uloop_timeout_set(&du->timeout, conf.script_timeout
* 1000
);
du->req_pending = true;
}