"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/main.c" between
mailfromd-8.10.tar.xz and mailfromd-8.11.tar.xz

About: Mailfromd is a general-purpose mail filtering daemon for Sendmail, Postfix and MeTA1 (interfaces with the MTA using Milter or PMilter protocols).

main.c  (mailfromd-8.10.tar.xz):main.c  (mailfromd-8.11.tar.xz)
skipping to change at line 800 skipping to change at line 800
break; break;
case MU_CFG_LIST: case MU_CFG_LIST:
mu_list_foreach(val->v.list, flush_trace_module, NULL); mu_list_foreach(val->v.list, flush_trace_module, NULL);
break; break;
} }
return rc; return rc;
} }
static int static int
cfg_load_relay_file(void *item, void *data)
{
mu_config_value_t *val = item;
if (mu_cfg_assert_value_type(val, MU_CFG_STRING) == 0)
read_domain_file(val->v.string);
return 0;
}
static int
cb_relayed_domain_file(void *data, mu_config_value_t *val) cb_relayed_domain_file(void *data, mu_config_value_t *val)
{ {
switch (val->type) { switch (val->type) {
case MU_CFG_STRING: case MU_CFG_STRING:
read_domain_file(val->v.string); read_domain_file(val->v.string);
break; break;
case MU_CFG_LIST: case MU_CFG_LIST:
mu_list_foreach(val->v.list, load_relay_file, NULL); mu_list_foreach(val->v.list, cfg_load_relay_file, NULL);
break; break;
default: default:
mu_error (_("expected string or list of strings")); mu_error (_("expected string or list of strings"));
} }
return 0; return 0;
} }
struct mu_cfg_param mf_cfg_param[] = { struct mu_cfg_param mf_cfg_param[] = {
{ ".mfd:server", mu_cfg_section, NULL, 0, NULL, NULL }, { ".mfd:server", mu_cfg_section, NULL, 0, NULL, NULL },
{ "stack-trace", mu_c_bool, &stack_trace_option, 0, NULL, { "stack-trace", mu_c_bool, &stack_trace_option, 0, NULL,
 End of changes. 2 change blocks. 
1 lines changed or deleted 10 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)