summaryrefslogtreecommitdiffstats
path: root/functions.h
diff options
context:
space:
mode:
authorGravatar Edward Rudd 2004-04-04 07:45:30 +0000
committerGravatar Edward Rudd 2004-04-04 07:45:30 +0000
commit812bc70dae80637548a0ccfab649f8912a09faf5 (patch)
treeb0410deed7f35f9db952bf51aa3770a9cb9b0a68 /functions.h
parentbf387bc750caf37fe2cbe45a901161861fc50b01 (diff)
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)
Diffstat (limited to 'functions.h')
-rw-r--r--functions.h10
1 files changed, 5 insertions, 5 deletions
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)
175 char *cookiebuf; 175 char *cookiebuf;
176 176
177 if (a != NULL) { 177 if (a != NULL) {
178 log_error(APLOG_MARK,APLOG_DEBUG, 178 log_error(APLOG_MARK,APLOG_DEBUG, 0, r->server,
179 r->server,"watching for cookie '%s'", a); 179 "watching for cookie '%s'", a);
180 180
181 /* Fetch out the cookie header */ 181 /* Fetch out the cookie header */
182 cookiestr = (char *)apr_table_get(r->headers_in, "cookie2"); 182 cookiestr = (char *)apr_table_get(r->headers_in, "cookie2");
183 if (cookiestr != NULL) { 183 if (cookiestr != NULL) {
184 log_error(APLOG_MARK,APLOG_DEBUG,r->server, 184 log_error(APLOG_MARK,APLOG_DEBUG, 0, r->server,
185 "Cookie2: [%s]", cookiestr); 185 "Cookie2: [%s]", cookiestr);
186 /* Does the cookie string contain one with our name? */ 186 /* Does the cookie string contain one with our name? */
187 isvalid = strstr(cookiestr, a); 187 isvalid = strstr(cookiestr, a);
@@ -201,7 +201,7 @@ static const char *extract_specific_cookie(request_rec *r, char *a)
201 201
202 cookiestr = (char *)apr_table_get(r->headers_in, "cookie"); 202 cookiestr = (char *)apr_table_get(r->headers_in, "cookie");
203 if (cookiestr != NULL) { 203 if (cookiestr != NULL) {
204 log_error(APLOG_MARK,APLOG_DEBUG,r->server, 204 log_error(APLOG_MARK,APLOG_DEBUG, 0, r->server,
205 "Cookie: [%s]", cookiestr); 205 "Cookie: [%s]", cookiestr);
206 isvalid = strstr(cookiestr, a); 206 isvalid = strstr(cookiestr, a);
207 if (isvalid != NULL) { 207 if (isvalid != NULL) {
@@ -216,7 +216,7 @@ static const char *extract_specific_cookie(request_rec *r, char *a)
216 216
217 cookiestr = apr_table_get(r->headers_out, "set-cookie"); 217 cookiestr = apr_table_get(r->headers_out, "set-cookie");
218 if (cookiestr != NULL) { 218 if (cookiestr != NULL) {
219 log_error(APLOG_MARK,APLOG_DEBUG,r->server, 219 log_error(APLOG_MARK,APLOG_DEBUG, 0, r->server,
220 "Set-Cookie: [%s]", cookiestr); 220 "Set-Cookie: [%s]", cookiestr);
221 isvalid = strstr(cookiestr, a); 221 isvalid = strstr(cookiestr, a);
222 if (isvalid != NULL) { 222 if (isvalid != NULL) {