62
62
SETDEFAULTS_FUNC(mod_alias_set_defaults) {
67
67
{ "alias.url", NULL, T_CONFIG_ARRAY, T_CONFIG_SCOPE_CONNECTION }, /* 0 */
68
68
{ NULL, NULL, T_CONFIG_UNSET, T_CONFIG_SCOPE_UNSET }
71
71
if (!p) return HANDLER_ERROR;
73
73
p->config_storage = calloc(1, srv->config_context->used * sizeof(specific_config *));
75
75
for (i = 0; i < srv->config_context->used; i++) {
78
78
s = calloc(1, sizeof(plugin_config));
80
80
cv[0].destination = s->alias;
82
82
p->config_storage[i] = s;
84
84
if (0 != config_insert_values_global(srv, ((data_config *)srv->config_context->data[i])->value, cv)) {