Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
5d0f408d
Commit
5d0f408d
authored
May 18, 2013
by
antirez
Browse files
Don't stop reading redis.conf if line has no args.
Should be "continue" and was "return". This fixes issue #1110
parent
92f18d04
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/config.c
View file @
5d0f408d
...
@@ -105,7 +105,7 @@ void loadServerConfigFromString(char *config) {
...
@@ -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
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment