diff options
author | Martin Mares <mj@ucw.cz> | 1999-12-06 13:44:45 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-12-06 13:44:45 +0000 |
commit | 7c0cc76ed76100ef8492f13eeec1e061d52b9be0 (patch) | |
tree | 76b6fd21c4cbf507f731012bef357135966b6e76 /conf/conf.c | |
parent | a9c986f98116fef5c35d956e7a867be0735f3268 (diff) |
Moved initialization of protocol list to proto.c.
Added sysdep configuration hooks.
Diffstat (limited to 'conf/conf.c')
-rw-r--r-- | conf/conf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/conf/conf.c b/conf/conf.c index 4e2f920d..ea65183b 100644 --- a/conf/conf.c +++ b/conf/conf.c @@ -31,7 +31,6 @@ config_alloc(byte *name) c->pool = p; cfg_mem = c->mem = l; - init_list(&c->protos); c->file_name = cfg_strdup(name); return c; } @@ -45,6 +44,7 @@ config_parse(struct config *c) if (setjmp(conf_jmpbuf)) return 0; cf_lex_init(0); + sysdep_preconfig(c); protos_preconfig(c); rt_preconfig(c); cf_parse(); @@ -80,6 +80,7 @@ void config_commit(struct config *c) { config = c; + sysdep_commit(c); rt_commit(c); protos_commit(c); } |