Skip to content

Commit 7576e54

Browse files
committed
config_map: on MAP_SLIST, use new split_tokens api to support quotes
Signed-off-by: Eduardo Silva <[email protected]>
1 parent c6c53e9 commit 7576e54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flb_config_map.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ static struct mk_list *parse_string_map_to_list(struct flb_config_map *map, char
9292
ret = flb_slist_split_string(list, str, ',', max_split);
9393
}
9494
else if (type == FLB_CONFIG_MAP_SLIST) {
95-
ret = flb_slist_split_string(list, str, ' ', max_split);
95+
ret = flb_slist_split_tokens(list, str, max_split);
9696
}
9797

9898
if (ret == -1) {

0 commit comments

Comments
 (0)