| 1119 | static APR_OPTIONAL_FN_TYPE(ap_ident_lookup) *ident_lookup; |
| 1120 | |
| 1121 | AP_DECLARE(const char *) ap_get_remote_logname(request_rec *r) |
| 1122 | { |
| 1123 | if (r->connection->remote_logname != NULL) { |
| 1124 | return r->connection->remote_logname; |
| 1125 | } |
| 1126 | |
| 1127 | if (ident_lookup) { |
| 1128 | return ident_lookup(r); |
| 1129 | } |
| 1130 | |
| 1131 | return NULL; |
| 1132 | } |
| 1133 | |
| 1134 | /* There are two options regarding what the "name" of a server is. The |
| 1135 | * "canonical" name as defined by ServerName and Port, or the "client's |
no outgoing calls
no test coverage detected