| 407 | } |
| 408 | |
| 409 | static const char *find_more_info(server_rec * s, const char *module_name) |
| 410 | { |
| 411 | int i; |
| 412 | info_svr_conf *conf = |
| 413 | (info_svr_conf *) ap_get_module_config(s->module_config, |
| 414 | &info_module); |
| 415 | info_entry *entry = (info_entry *) conf->more_info->elts; |
| 416 | |
| 417 | if (!module_name) { |
| 418 | return 0; |
| 419 | } |
| 420 | for (i = 0; i < conf->more_info->nelts; i++) { |
| 421 | if (!strcmp(module_name, entry->name)) { |
| 422 | return entry->info; |
| 423 | } |
| 424 | entry++; |
| 425 | } |
| 426 | return 0; |
| 427 | } |
| 428 | |
| 429 | static int show_server_settings(request_rec * r) |
| 430 | { |
no test coverage detected