Commit cf4d7737 authored by antirez's avatar antirez
Browse files

More specific error message in loadServerConfigFromString().

parent 4ea89e64
...@@ -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]);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment