From: Olivier Matz Date: Fri, 24 Dec 2010 12:14:10 +0000 (+0100) Subject: genconf: take quote in account in confnode_set_user_strvalue() X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=eca0807376126b970b7a1d2da22756d011a427fe;p=libcmdline.git genconf: take quote in account in confnode_set_user_strvalue() Signed-off-by: Olivier Matz --- diff --git a/src/genconf/confnode.c b/src/genconf/confnode.c index 22aa068..cbd0961 100644 --- a/src/genconf/confnode.c +++ b/src/genconf/confnode.c @@ -256,7 +256,7 @@ int confnode_set_user_strvalue(struct confnode *n, const char *strvalue) buf[end] = '\0'; if (n->ops->set_user_strvalue) - return n->ops->set_user_strvalue(n, buf); + return n->ops->set_user_strvalue(n, buf+start); return -1; }