summaryrefslogtreecommitdiffstats
path: root/functions.h
diff options
context:
space:
mode:
Diffstat (limited to 'functions.h')
-rw-r--r--functions.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/functions.h b/functions.h
index 696ef60..540376e 100644
--- a/functions.h
+++ b/functions.h
@@ -1,4 +1,4 @@
1/* $Header: /home/cvs/mod_log_sql/functions.h,v 1.3 2004/03/04 05:41:12 urkle Exp $ */ 1/* $Header: /home/cvs/mod_log_sql/functions.h,v 1.4 2004/03/04 05:43:20 urkle Exp $ */
2/* Begin the individual functions that, given a request r, 2/* Begin the individual functions that, given a request r,
3 * extract the needed information from it and return the 3 * extract the needed information from it and return the
4 * value to the calling entity. 4 * value to the calling entity.
@@ -201,10 +201,8 @@ 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 #ifdef DEBUG 204 log_error(APLOG_MARK,APLOG_DEBUG,r->server,
205 log_error(APLOG_MARK,APLOG_DEBUG,r->server, 205 "Cookie: [%s]", cookiestr);
206 "Cookie: [%s]", cookiestr);
207 #endif
208 isvalid = strstr(cookiestr, a); 206 isvalid = strstr(cookiestr, a);
209 if (isvalid != NULL) { 207 if (isvalid != NULL) {
210 isvalid += strlen(a) + 1; 208 isvalid += strlen(a) + 1;
@@ -218,10 +216,8 @@ static const char *extract_specific_cookie(request_rec *r, char *a)
218 216
219 cookiestr = apr_table_get(r->headers_out, "set-cookie"); 217 cookiestr = apr_table_get(r->headers_out, "set-cookie");
220 if (cookiestr != NULL) { 218 if (cookiestr != NULL) {
221 #ifdef DEBUG 219 log_error(APLOG_MARK,APLOG_DEBUG,r->server,
222 log_error(APLOG_MARK,APLOG_DEBUG,r->server, 220 "Set-Cookie: [%s]", cookiestr);
223 "Set-Cookie: [%s]", cookiestr);
224 #endif
225 isvalid = strstr(cookiestr, a); 221 isvalid = strstr(cookiestr, a);
226 if (isvalid != NULL) { 222 if (isvalid != NULL) {
227 isvalid += strlen(a) + 1; 223 isvalid += strlen(a) + 1;