diff options
Diffstat (limited to 'functions.h')
-rw-r--r-- | functions.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/functions.h b/functions.h index 917a1f9..696ef60 100644 --- a/functions.h +++ b/functions.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Header: /home/cvs/mod_log_sql/functions.h,v 1.2 2004/02/05 21:59:46 urkle Exp $ */ | 1 | /* $Header: /home/cvs/mod_log_sql/functions.h,v 1.3 2004/03/04 05:41:12 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. |
@@ -175,18 +175,14 @@ 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 | #ifdef DEBUG | 178 | log_error(APLOG_MARK,APLOG_DEBUG, |
179 | log_error(APLOG_MARK,APLOG_DEBUG, | 179 | r->server,"watching for cookie '%s'", a); |
180 | r->server,"watching for cookie '%s'", a); | ||
181 | #endif | ||
182 | 180 | ||
183 | /* Fetch out the cookie header */ | 181 | /* Fetch out the cookie header */ |
184 | cookiestr = (char *)apr_table_get(r->headers_in, "cookie2"); | 182 | cookiestr = (char *)apr_table_get(r->headers_in, "cookie2"); |
185 | if (cookiestr != NULL) { | 183 | if (cookiestr != NULL) { |
186 | #ifdef DEBUG | 184 | log_error(APLOG_MARK,APLOG_DEBUG,r->server, |
187 | log_error(APLOG_MARK,APLOG_DEBUG,r->server, | 185 | "Cookie2: [%s]", cookiestr); |
188 | "Cookie2: [%s]", cookiestr); | ||
189 | #endif | ||
190 | /* Does the cookie string contain one with our name? */ | 186 | /* Does the cookie string contain one with our name? */ |
191 | isvalid = strstr(cookiestr, a); | 187 | isvalid = strstr(cookiestr, a); |
192 | if (isvalid != NULL) { | 188 | if (isvalid != NULL) { |