From: Olivier Matz Date: Sun, 8 May 2011 16:00:01 +0000 (+0200) Subject: genconf: "comment" nodes don't have name, add the flag X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=f611cd45d0d556ffdf559bff455db7c0e1e467ae;p=libcmdline.git genconf: "comment" nodes don't have name, add the flag Signed-off-by: Olivier Matz --- diff --git a/src/genconf/confnode_comment.c b/src/genconf/confnode_comment.c index 36607cc..95eaccd 100644 --- a/src/genconf/confnode_comment.c +++ b/src/genconf/confnode_comment.c @@ -76,7 +76,8 @@ static int confnode_comment_new(struct confnode *n, const struct line *line) snprintf(n->prompt, sizeof(n->prompt), "%s", tok->str); n->ops = &confnode_comment.ops; n->flags = CONFNODE_F_NO_SET_DEFAULT | - CONFNODE_F_NO_SET_PROMPT; + CONFNODE_F_NO_SET_PROMPT | + CONFNODE_F_NO_NAME; return 0; }