fix quoted parser

This commit is contained in:
Lennart Poettering 2010-01-27 02:16:51 +01:00
parent af5ec59328
commit b858b600e4
1 changed files with 1 additions and 1 deletions

2
util.c
View File

@ -253,7 +253,7 @@ char *split_quoted(const char *c, size_t *l, char **state) {
(*state)++;
} else if (*current == '\"') {
current ++;
*l = strcspn(current+1, "\"");
*l = strcspn(current, "\"");
*state = current+*l;
if (**state == '\"')