projects
/
project
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0b6ea9
)
trivial code cleanup
author
John Crispin
<blogic@openwrt.org>
Tue, 27 Aug 2013 11:40:22 +0000
(13:40 +0200)
committer
John Crispin
<blogic@openwrt.org>
Tue, 3 Sep 2013 17:44:01 +0000
(19:44 +0200)
Signed-off-by: John Crispin <blogic@openwrt.org>
instance.c
patch
|
blob
|
history
diff --git
a/instance.c
b/instance.c
index e263b84f90c64684463f64035474a1848b145023..d9530e5e7e0f19c02133c1347d176c2ca53992cf 100644
(file)
--- a/
instance.c
+++ b/
instance.c
@@
-319,9
+319,9
@@
instance_config_parse(struct service_instance *in)
in->command = cur;
in->trigger = tb[INSTANCE_ATTR_TRIGGER];
- if (in->trigger)
{
+ if (in->trigger)
trigger_add(in->trigger, in);
- }
+
if ((cur = tb[INSTANCE_ATTR_NICE])) {
in->nice = (int8_t) blobmsg_get_u32(cur);
if (in->nice < -20 || in->nice > 20)