]> git.saurik.com Git - redis.git/blobdiff - src/config.c
Now it is possible to use quoted strings in the redis.conf file accordingly to the...
[redis.git] / 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 */