]> git.droids-corp.org - protos/libecoli.git/blobdiff - libecoli/ecoli_node.c
use config for option node
[protos/libecoli.git] / libecoli / ecoli_node.c
index c02a8dedc1703632b7582845d4a756aa556a85dc..9789102c8810f1e1dc98ccc184016a35005348c8 100644 (file)
@@ -82,6 +82,7 @@ struct ec_node *ec_node_from_type(const struct ec_node_type *type, const char *i
        node->type = type;
        node->refcnt = 1;
 
+       // XXX check that id matches [_a-zA-Z][:-_0-9a-zA-Z]*
        node->id = ec_strdup(id);
        if (node->id == NULL)
                goto fail;