MCPcopy Create free account
hub / github.com/apache/httpd / log_remote_user

Function log_remote_user

modules/loggers/mod_log_config.c:343–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341}
342
343static const char *log_remote_user(request_rec *r, char *a)
344{
345 char *rvalue = r->user;
346
347 if (rvalue == NULL) {
348 rvalue = "-";
349 }
350 else if (strlen(rvalue) == 0) {
351 rvalue = "\"\"";
352 }
353 else {
354 rvalue = ap_escape_logitem(r->pool, rvalue);
355 }
356
357 return rvalue;
358}
359
360static const char *log_request_line(request_rec *r, char *a)
361{

Callers

nothing calls this directly

Calls 1

ap_escape_logitemFunction · 0.85

Tested by

no test coverage detected