Don't stop reading redis.conf if line has no args.

Should be "continue" and was "return".

This fixes issue #1110
This commit is contained in:
antirez
2013-05-18 16:21:52 +02:00
parent 059018c4cd
commit 0b398b6ffa

View File

@ -105,7 +105,7 @@ void loadServerConfigFromString(char *config) {
/* Skip this line if the resulting command vector is empty. */
if (argc == 0) {
sdsfreesplitres(argv,argc);
return;
continue;
}
sdstolower(argv[0]);