From 1415cc4f58be08f90e646096cbf7e229a92faea5 Mon Sep 17 00:00:00 2001 From: Edward Rudd Date: Sat, 20 Oct 2007 13:18:20 +0000 Subject: updated with new code to allow better dynamic configuration of logged fields --- (limited to 'functions.h') 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) * (note the truncation before the protocol string for HTTP/0.9 requests) * (note also that r->the_request contains the unmodified request) */ - return (r->parsed_uri.password) + return (r->parsed_uri.password) ? apr_pstrcat(r->pool, r->method, " ", apr_uri_unparse(r->pool, &r->parsed_uri, 0), - r->assbackwards ? NULL : " ", + r->assbackwards ? NULL : " ", r->protocol, NULL) : r->the_request; } @@ -239,13 +239,13 @@ static const char *extract_specific_cookie(request_rec *r, char *a) return "-"; } -static const char *extract_cookie(request_rec *r, char *a) +/*static const char *extract_cookie(request_rec *r, char *a) { logsql_state *cls = ap_get_module_config(r->server->module_config, &log_sql_module); return extract_specific_cookie(r, (char *)cls->cookie_name); -} +}*/ static const char *extract_unique_id(request_rec *r, char *a) { -- cgit v0.9.2