summaryrefslogtreecommitdiff
path: root/comsat/cfg.c
diff options
context:
space:
mode:
authorSam Roberts <sroberts@uniserve.com>2002-02-21 01:25:43 +0000
committerSam Roberts <sroberts@uniserve.com>2002-02-21 01:25:43 +0000
commit407f42472b53d5452c780e0a39b6975c4d841fec (patch)
tree9a55e6e0451b667dce74f1c5b20602d46ecdf300 /comsat/cfg.c
parentde82eae68b917d574ad60a0046f5a2810d4352e6 (diff)
downloadmailutils-407f42472b53d5452c780e0a39b6975c4d841fec.tar.gz
mailutils-407f42472b53d5452c780e0a39b6975c4d841fec.tar.bz2
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.
Diffstat (limited to 'comsat/cfg.c')
-rw-r--r--comsat/cfg.c2
1 files changed, 1 insertions, 1 deletions
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);

Return to:

Send suggestions and report system problems to the System administrator.