More specific error message in loadServerConfigFromString().

This commit is contained in:
antirez 2013-03-06 12:24:12 +01:00
parent 4ea89e64c0
commit cf4d7737bb

View File

@ -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]);