From: antirez Date: Wed, 3 Nov 2010 09:31:19 +0000 (+0100) Subject: Now it is possible to use quoted strings in the redis.conf file accordingly to the... X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/297e77c6ab9f65fed7f7ee5baa26310071f6ce9e?ds=sidebyside Now it is possible to use quoted strings in the redis.conf file accordingly to the sdssplitargs() function capabilities. --- diff --git a/src/config.c b/src/config.c index bbe9d402..d5938107 100644 --- a/src/config.c +++ b/src/config.c @@ -55,7 +55,7 @@ void loadServerConfig(char *filename) { } /* Split into arguments */ - argv = sdssplitlen(line,sdslen(line)," ",1,&argc); + argv = sdssplitargs(line,&argc); sdstolower(argv[0]); /* Execute config directives */