Now it is possible to use quoted strings in the redis.conf file accordingly to the sdssplitargs() function capabilities.

This commit is contained in:
antirez 2010-11-03 10:31:19 +01:00
parent 0a546fc017
commit 297e77c6ab

View 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 */