git.droids-corp.org
/
libcmdline.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cmdline: add an opaque pointer in cmdline
[libcmdline.git]
/
src
/
lib
/
cmdline_parse_string.c
diff --git
a/src/lib/cmdline_parse_string.c
b/src/lib/cmdline_parse_string.c
index
b99a278
..
9c76e29
100644
(file)
--- a/
src/lib/cmdline_parse_string.c
+++ b/
src/lib/cmdline_parse_string.c
@@
-146,7
+146,7
@@
cmdline_parse_string(cmdline_parse_token_hdr_t *tk, const char *buf, void *res,
if (res)
strcpy(res, buf);
- return
token_len
;
+ return
0
;
}
static int