| 308 | } |
| 309 | |
| 310 | static const char *log_remote_host(request_rec *r, char *a) |
| 311 | { |
| 312 | const char *remote_host; |
| 313 | if (a && !strcmp(a, "c")) { |
| 314 | remote_host = ap_get_remote_host(r->connection, r->per_dir_config, |
| 315 | REMOTE_NAME, NULL); |
| 316 | } |
| 317 | else { |
| 318 | remote_host = ap_get_useragent_host(r, REMOTE_NAME, NULL); |
| 319 | } |
| 320 | return ap_escape_logitem(r->pool, remote_host); |
| 321 | } |
| 322 | |
| 323 | static const char *log_remote_address(request_rec *r, char *a) |
| 324 | { |
nothing calls this directly
no test coverage detected