From ec60974ca79594150b33692683b2d8bb800a896f Mon Sep 17 00:00:00 2001 From: Edward Rudd Date: Thu, 04 Mar 2004 05:41:12 +0000 Subject: complete DB separation from core module code. 99% updated documentation (needs 2 tables added) moved DB connection code for Apache 2 from open_logs to child_init. removed more #ifdef debug lines --- (limited to 'functions.h') diff --git a/functions.h b/functions.h index 917a1f9..696ef60 100644 --- a/functions.h +++ b/functions.h @@ -1,4 +1,4 @@ -/* $Header: /home/cvs/mod_log_sql/functions.h,v 1.2 2004/02/05 21:59:46 urkle Exp $ */ +/* $Header: /home/cvs/mod_log_sql/functions.h,v 1.3 2004/03/04 05:41:12 urkle Exp $ */ /* Begin the individual functions that, given a request r, * extract the needed information from it and return the * value to the calling entity. @@ -175,18 +175,14 @@ static const char *extract_specific_cookie(request_rec *r, char *a) char *cookiebuf; if (a != NULL) { - #ifdef DEBUG - log_error(APLOG_MARK,APLOG_DEBUG, - r->server,"watching for cookie '%s'", a); - #endif + log_error(APLOG_MARK,APLOG_DEBUG, + r->server,"watching for cookie '%s'", a); /* Fetch out the cookie header */ cookiestr = (char *)apr_table_get(r->headers_in, "cookie2"); if (cookiestr != NULL) { - #ifdef DEBUG - log_error(APLOG_MARK,APLOG_DEBUG,r->server, - "Cookie2: [%s]", cookiestr); - #endif + log_error(APLOG_MARK,APLOG_DEBUG,r->server, + "Cookie2: [%s]", cookiestr); /* Does the cookie string contain one with our name? */ isvalid = strstr(cookiestr, a); if (isvalid != NULL) { -- cgit v0.9.2