From 6d53a10e4cf873ff61a3dada644d15be83dd54c0 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Mon, 1 Aug 2016 13:18:25 +0000 Subject: lib: Add partial matching support Signed-off-by: Quentin Young --- lib/command_graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/command_graph.c') diff --git a/lib/command_graph.c b/lib/command_graph.c index 7c09a5cd6c..3e52f42598 100644 --- a/lib/command_graph.c +++ b/lib/command_graph.c @@ -92,7 +92,7 @@ struct graph_node * copy_node (struct graph_node *node) { struct graph_node *new = new_node(node->type); - new->children = vector_copy (node->children); + new->children = NULL; new->is_start = node->is_start; new->end = node->end; new->text = node->text ? XSTRDUP(MTYPE_CMD_TOKENS, node->text) : NULL; -- cgit v1.2.3