From 5d0f408d429d4ef0eedcff66bba1464ff0e5a01a Mon Sep 17 00:00:00 2001 From: antirez Date: Sat, 18 May 2013 16:21:52 +0200 Subject: [PATCH] Don't stop reading redis.conf if line has no args. Should be "continue" and was "return". This fixes issue #1110 --- src/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.c b/src/config.c index c41d5718..6dabb43e 100644 --- a/src/config.c +++ b/src/config.c @@ -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]); -- GitLab