summaryrefslogtreecommitdiffstats
path: root/functions.h
diff options
context:
space:
mode:
Diffstat (limited to 'functions.h')
-rw-r--r--functions.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/functions.h b/functions.h
index dcbc939..b35634a 100644
--- a/functions.h
+++ b/functions.h
@@ -99,7 +99,12 @@ static const char *extract_status(request_rec *r, char *a)
99 99
100static const char *extract_virtual_host(request_rec *r, char *a) 100static const char *extract_virtual_host(request_rec *r, char *a)
101{ 101{
102 return apr_pstrdup(r->pool, r->server->server_hostname); 102 return r->server->server_hostname;
103}
104
105static const char *extract_server_name(request_rec *r, char *a)
106{
107 return ap_get_server_name(r);
103} 108}
104 109
105static const char *extract_machine_id(request_rec *r, char *a) 110static const char *extract_machine_id(request_rec *r, char *a)