From d4ff22c576eff5c362d43036b3788e61b7deef5c Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 24 Jun 2012 20:18:33 +0200 Subject: whitespace fixup --- instance.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/instance.c b/instance.c index 8ed53e3..df1ea5b 100644 --- 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); } - - -- cgit v1.2.3