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:
parent
5049902df5
commit
53890a2973
@ -105,7 +105,7 @@ void loadServerConfigFromString(char *config) {
|
|||||||
/* Skip this line if the resulting command vector is empty. */
|
/* Skip this line if the resulting command vector is empty. */
|
||||||
if (argc == 0) {
|
if (argc == 0) {
|
||||||
sdsfreesplitres(argv,argc);
|
sdsfreesplitres(argv,argc);
|
||||||
return;
|
continue;
|
||||||
}
|
}
|
||||||
sdstolower(argv[0]);
|
sdstolower(argv[0]);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user