search for: config_add

Displaying 1 result from an estimated 1 matches for "config_add".

Did you mean: config_addr
2010 Sep 03
1
[PATCH] New '-o' option to configure server or hosts from command line
...nfig file %s", - variable, lineno, fname); + cfg = parse_config_line(line, fname, lineno); + if (!cfg) break; - } - - cfg = new_config(); - cfg->variable = xstrdup(variable); - cfg->value = xstrdup(value); - cfg->file = xstrdup(fname); - cfg->line = lineno; - config_add(config_tree, cfg); } @@ -317,9 +336,20 @@ bool read_config_file(avl_tree_t *config_tree, const char *fname) { } bool read_server_config() { + list_node_t *node, *next; char *fname; bool x; + for(node = cmdline_conf->tail; node; node = next) { + config_t *cfg = (config_t *)nod...