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 92f18d04a0
commit 5d0f408d42

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]);