summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-04 13:06:13 -0500
committerpommicket <pommicket@gmail.com>2023-01-04 13:06:13 -0500
commit4293f5284971473afaa43b83075d4d985b976622 (patch)
tree498243bee09fab77d0a3414c9cc8ad421a7f1136 /config.c
parent98c618770f44a2bde4b5ba45c7390971c91a3fc3 (diff)
more documentation
Diffstat (limited to 'config.c')
-rw-r--r--config.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/config.c b/config.c
index e94e164..2257722 100644
--- a/config.c
+++ b/config.c
@@ -1,4 +1,4 @@
-// Read a configuration file.
+// Read a ted configuration file.
// Config files are formatted as several sections, each containing key = value pairs.
// e.g.:
// [section1]
@@ -773,7 +773,6 @@ static void config_parse_line(ConfigReader *cfg, Settings *settings, const Confi
if (command != CMD_UNKNOWN) {
action->command = command;
action->argument = argument;
- action->line_number = cfg->line_number;
} else {
config_err(cfg, "Unrecognized command %s", value);
}