| 1433 | } |
| 1434 | |
| 1435 | static md_srv_conf_t *config_get_int(server_rec *s, apr_pool_t *p) |
| 1436 | { |
| 1437 | md_srv_conf_t *sc = (md_srv_conf_t *)ap_get_module_config(s->module_config, &md_module); |
| 1438 | ap_assert(sc); |
| 1439 | if (sc->s != s && p) { |
| 1440 | sc = md_config_merge(p, &defconf, sc); |
| 1441 | sc->s = s; |
| 1442 | sc->name = apr_pstrcat(p, CONF_S_NAME(s), sc->name, NULL); |
| 1443 | sc->mc = md_mod_conf_get(p, 1); |
| 1444 | ap_set_module_config(s->module_config, &md_module, sc); |
| 1445 | } |
| 1446 | return sc; |
| 1447 | } |
| 1448 | |
| 1449 | md_srv_conf_t *md_config_get(server_rec *s) |
| 1450 | { |
no test coverage detected