aboutsummaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/ConfigFile.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/config/ConfigFile.cxx b/src/config/ConfigFile.cxx
index f045213a4..1329c4cd4 100644
--- a/src/config/ConfigFile.cxx
+++ b/src/config/ConfigFile.cxx
@@ -96,7 +96,7 @@ config_read_block(FILE *fp, int *count, char *string, Error &error)
}
(*count)++;
- line = strchug_fast(line);
+ line = StripLeft(line);
if (*line == 0 || *line == CONF_COMMENT)
continue;
@@ -104,7 +104,7 @@ config_read_block(FILE *fp, int *count, char *string, Error &error)
/* end of this block; return from the function
(and from this "while" loop) */
- line = strchug_fast(line + 1);
+ line = StripLeft(line + 1);
if (*line != 0 && *line != CONF_COMMENT) {
delete ret;
error.Format(config_file_domain,
@@ -155,7 +155,7 @@ ReadConfigFile(ConfigData &config_data, FILE *fp, Error &error)
count++;
- line = strchug_fast(string);
+ line = StripLeft(string);
if (*line == 0 || *line == CONF_COMMENT)
continue;
@@ -205,7 +205,7 @@ ReadConfigFile(ConfigData &config_data, FILE *fp, Error &error)
return false;
}
- line = strchug_fast(tokenizer.Rest() + 1);
+ line = StripLeft(tokenizer.Rest() + 1);
if (*line != 0 && *line != CONF_COMMENT) {
error.Format(config_file_domain,
"line %i: Unknown tokens after '{'",