git.droids-corp.org
/
libcmdline.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8c2f3c
)
genconf: take quote in account in confnode_set_user_strvalue()
author
Olivier Matz
<zer0@droids-corp.org>
Fri, 24 Dec 2010 12:14:10 +0000
(13:14 +0100)
committer
Olivier Matz
<zer0@droids-corp.org>
Sun, 2 Jan 2011 20:53:15 +0000
(21:53 +0100)
Signed-off-by: Olivier Matz <zer0@droids-corp.org>
src/genconf/confnode.c
patch
|
blob
|
history
diff --git
a/src/genconf/confnode.c
b/src/genconf/confnode.c
index
22aa068
..
cbd0961
100644
(file)
--- 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;
}