projects
/
oweals
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7df9681
)
service: dump respawn params in the same order as when passed in.
author
Yousong Zhou
<yszhou4tech@gmail.com>
Sun, 14 Jun 2015 04:14:44 +0000
(12:14 +0800)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 14 Jun 2015 16:29:03 +0000
(18:29 +0200)
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
service/instance.c
patch
|
blob
|
history
diff --git
a/service/instance.c
b/service/instance.c
index 4ace40becc86a9ed61a8f69c52dd4774342d7922..e89cbc63c65175a59cd7cfebcc0b64c4cd5ea584 100644
(file)
--- a/
service/instance.c
+++ b/
service/instance.c
@@
-917,8
+917,8
@@
void instance_dump(struct blob_buf *b, struct service_instance *in, int verbose)
if (in->respawn) {
void *r = blobmsg_open_table(b, "respawn");
- blobmsg_add_u32(b, "timeout", in->respawn_timeout);
blobmsg_add_u32(b, "threshold", in->respawn_threshold);
+ blobmsg_add_u32(b, "timeout", in->respawn_timeout);
blobmsg_add_u32(b, "retry", in->respawn_retry);
blobmsg_close_table(b, r);
}