httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@hyperreal.org
Subject cvs commit: apache-2.0/src/modules/standard mod_usertrack.c
Date Fri, 31 Dec 1999 17:39:43 GMT
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
           /*
  
  
  

Mime
View raw message