Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
cf4d7737
Commit
cf4d7737
authored
Mar 06, 2013
by
antirez
Browse files
More specific error message in loadServerConfigFromString().
parent
4ea89e64
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/config.c
View file @
cf4d7737
...
@@ -74,7 +74,7 @@ void loadServerConfigFromString(char *config) {
...
@@ -74,7 +74,7 @@ void loadServerConfigFromString(char *config) {
/* Split into arguments */
/* Split into arguments */
argv
=
sdssplitargs
(
lines
[
i
],
&
argc
);
argv
=
sdssplitargs
(
lines
[
i
],
&
argc
);
if
(
argv
==
NULL
)
{
if
(
argv
==
NULL
)
{
err
=
"
can't parse this
line"
;
err
=
"
Unbalanced quotes in configuration
line"
;
goto
loaderr
;
goto
loaderr
;
}
}
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