From 812bc70dae80637548a0ccfab649f8912a09faf5 Mon Sep 17 00:00:00 2001 From: Edward Rudd Date: Sun, 04 Apr 2004 07:45:30 +0000 Subject: Updated to new logging function with apaceh 2 prototype instead of 1.3 so i can properly log Error numbers in apache 2 (better debugging) --- (limited to 'functions.h') diff --git a/functions.h b/functions.h index 540376e..2c06f61 100644 --- a/functions.h +++ b/functions.h @@ -175,13 +175,13 @@ static const char *extract_specific_cookie(request_rec *r, char *a) char *cookiebuf; if (a != NULL) { - log_error(APLOG_MARK,APLOG_DEBUG, - r->server,"watching for cookie '%s'", a); + log_error(APLOG_MARK,APLOG_DEBUG, 0, r->server, + "watching for cookie '%s'", a); /* Fetch out the cookie header */ cookiestr = (char *)apr_table_get(r->headers_in, "cookie2"); if (cookiestr != NULL) { - log_error(APLOG_MARK,APLOG_DEBUG,r->server, + log_error(APLOG_MARK,APLOG_DEBUG, 0, r->server, "Cookie2: [%s]", cookiestr); /* Does the cookie string contain one with our name? */ isvalid = strstr(cookiestr, a); @@ -201,7 +201,7 @@ static const char *extract_specific_cookie(request_rec *r, char *a) cookiestr = (char *)apr_table_get(r->headers_in, "cookie"); if (cookiestr != NULL) { - log_error(APLOG_MARK,APLOG_DEBUG,r->server, + log_error(APLOG_MARK,APLOG_DEBUG, 0, r->server, "Cookie: [%s]", cookiestr); isvalid = strstr(cookiestr, a); if (isvalid != NULL) { @@ -216,7 +216,7 @@ static const char *extract_specific_cookie(request_rec *r, char *a) cookiestr = apr_table_get(r->headers_out, "set-cookie"); if (cookiestr != NULL) { - log_error(APLOG_MARK,APLOG_DEBUG,r->server, + log_error(APLOG_MARK,APLOG_DEBUG, 0, r->server, "Set-Cookie: [%s]", cookiestr); isvalid = strstr(cookiestr, a); if (isvalid != NULL) { -- cgit v0.9.2