From 407f42472b53d5452c780e0a39b6975c4d841fec Mon Sep 17 00:00:00 2001 From: Sam Roberts Date: Thu, 21 Feb 2002 01:25:43 +0000 Subject: argcv_get() now (optionally) strips comments while parsing. Its the right place because it tokenizes, and whether a char is a comment or not depends on whether its in the middle of a token or not: "hi # there" # comment. --- comsat/cfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'comsat/cfg.c') diff --git a/comsat/cfg.c b/comsat/cfg.c index a05535877..f322d7fc6 100644 --- a/comsat/cfg.c +++ b/comsat/cfg.c @@ -161,7 +161,7 @@ read_config (const char *config_file) if (!*ptr || *ptr == '#') continue; - argcv_get (ptr, "", &argc, &argv); + argcv_get (ptr, "", NULL, &argc, &argv); if (argc < 2) { syslog (LOG_ERR, "%s:%d: too few fields", config_file, line); -- cgit v1.2.1