rbb 99/12/31 09:39:42
Modified: src/modules/standard mod_usertrack.c
Log:
Make mod_usertrack compile cleanly. Not tested yet.
Revision Changes Path
1.6 +6 -1 apache-2.0/src/modules/standard/mod_usertrack.c
Index: mod_usertrack.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_usertrack.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- mod_usertrack.c 1999/11/30 03:52:54 1.5
+++ mod_usertrack.c 1999/12/31 17:39:42 1.6
@@ -182,7 +182,12 @@
if (cls->expires) {
struct tm *tms;
- time_t when = r->request_time + cls->expires;
+ ap_time_t *when = NULL;
+ ap_int64_t req_time;
+
+ ap_make_time(&when, r->pool);
+ ap_get_curtime(when, &req_time);
+ ap_set_curtime(when, req_time + cls->expires);
#ifndef MILLENIAL_COOKIES
/*