Browse Source

* jail.c: update f2b_jail_set_defaults()

master
Alex 'AdUser' Z 9 years ago
parent
commit
61de225ce2
  1. 10
      src/jail.c

10
src/jail.c

@ -68,13 +68,11 @@ f2b_jail_apply_config(f2b_jail_t *jail, f2b_config_section_t *config) {
} }
void void
f2b_jail_set_defaults(f2b_config_section_t *config) { f2b_jail_set_defaults(f2b_config_section_t *section) {
assert(config != NULL); assert(section != NULL);
assert(config->type == t_defaults); assert(section->type == t_defaults);
config->type = t_jail; f2b_jail_apply_config(&defaults, section);
f2b_jail_apply_config(&defaults, config);
config->type = t_defaults;
return; return;
} }

Loading…
Cancel
Save