summaryrefslogtreecommitdiffstatsabout
path: root/functions.h
diff options
context:
space:
mode:
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) {