summaryrefslogtreecommitdiffstatsabout
path: root/functions.h
diff options
context:
space:
mode:
authorEdward Rudd <urkle@outoforder.cc>2007-10-20 13:18:20 (GMT)
committer Edward Rudd <urkle@outoforder.cc>2007-10-20 13:18:20 (GMT)
commit1415cc4f58be08f90e646096cbf7e229a92faea5 (patch)
treea4c705e47adbc941e1de5287ef3b67e50e2a2bca /functions.h
parentfdee18399169716032a052effedf886480590efc (diff)
updated with new code to allow better dynamic configuration of logged fields
Diffstat (limited to 'functions.h')
-rw-r--r--functions.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/functions.h b/functions.h
index b35634a..07711d2 100644
--- a/functions.h
+++ b/functions.h
@@ -52,11 +52,11 @@ static const char *extract_request_line(request_rec *r, char *a)
52 * (note the truncation before the protocol string for HTTP/0.9 requests) 52 * (note the truncation before the protocol string for HTTP/0.9 requests)
53 * (note also that r->the_request contains the unmodified request) 53 * (note also that r->the_request contains the unmodified request)
54 */ 54 */
55 return (r->parsed_uri.password) 55 return (r->parsed_uri.password)
56 ? apr_pstrcat(r->pool, r->method, " ", 56 ? apr_pstrcat(r->pool, r->method, " ",
57 apr_uri_unparse(r->pool, 57 apr_uri_unparse(r->pool,
58 &r->parsed_uri, 0), 58 &r->parsed_uri, 0),
59 r->assbackwards ? NULL : " ", 59 r->assbackwards ? NULL : " ",
60 r->protocol, NULL) 60 r->protocol, NULL)
61 : r->the_request; 61 : r->the_request;
62} 62}
@@ -239,13 +239,13 @@ static const char *extract_specific_cookie(request_rec *r, char *a)
239 return "-"; 239 return "-";
240} 240}
241 241
242static const char *extract_cookie(request_rec *r, char *a) 242/*static const char *extract_cookie(request_rec *r, char *a)
243{ 243{
244 logsql_state *cls = ap_get_module_config(r->server->module_config, 244 logsql_state *cls = ap_get_module_config(r->server->module_config,
245 &log_sql_module); 245 &log_sql_module);
246 246
247 return extract_specific_cookie(r, (char *)cls->cookie_name); 247 return extract_specific_cookie(r, (char *)cls->cookie_name);
248} 248}*/
249 249
250static const char *extract_unique_id(request_rec *r, char *a) 250static const char *extract_unique_id(request_rec *r, char *a)
251{ 251{