freebsd-ports/www/mod_log_sql2/files/patch-functions13.h
Clement Laforet 52fc652591 Add mod_log_sql 1.97.
This add-on module allows the apache web server to use a MySQL database
for logging of all operations.

WWW: http://www.outoforder.cc/projects/apache/mod_log_sql/

This release add supports for apache2.
2004-04-16 19:57:21 +00:00

11 lines
402 B
C

--- functions13.h.orig Fri Apr 16 15:03:25 2004
+++ functions13.h Fri Apr 16 15:03:46 2004
@@ -37,7 +37,7 @@
static const char *extract_request_duration(request_rec *r, char *a)
{
- return ap_psprintf(r->pool, "%ld", time(NULL) - r->request_time);
+ return ap_psprintf(r->pool, "%ld", (long)time(NULL) - r->request_time);
}
static const char *extract_request_timestamp(request_rec *r, char *a)