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:
a8c7fd5
)
whitespace fixup
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 24 Jun 2012 18:18:33 +0000
(20:18 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 24 Jun 2012 18:18:33 +0000
(20:18 +0200)
instance.c
patch
|
blob
|
history
diff --git
a/instance.c
b/instance.c
index 8ed53e3a2cc95afba1650a79ae608f23ce1ceb71..df1ea5b22a1e164fb9144564d1002b18cd6b7a43 100644
(file)
--- a/
instance.c
+++ b/
instance.c
@@
-80,6
+80,7
@@
instance_config_parse(struct service_instance *in)
blobmsg_parse(instance_attr, __INSTANCE_ATTR_MAX, tb,
blobmsg_data(in->config), blobmsg_data_len(in->config));
+
if (!tb[INSTANCE_ATTR_COMMAND])
return false;
@@
-143,5
+144,3
@@
instance_init(struct service_instance *in, struct blob_attr *config)
blobmsg_list_simple_init(&in->data);
in->valid = instance_config_parse(in);
}
-
-