]> git.saurik.com Git - redis.git/commitdiff
Now it is possible to use quoted strings in the redis.conf file accordingly to the...
authorantirez <antirez@gmail.com>
Wed, 3 Nov 2010 09:31:19 +0000 (10:31 +0100)
committerantirez <antirez@gmail.com>
Wed, 3 Nov 2010 09:31:19 +0000 (10:31 +0100)
src/config.c

index bbe9d402b26c5dd4a962755a47490998228a182d..d59381071dbdd93caebb656af63cf8a38c8ba132 100644 (file)
@@ -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 */