httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@hyperreal.org
Subject cvs commit: apache-2.0/src/lib/apr/time/win32 timestr.c
Date Wed, 19 Jan 2000 01:51:33 GMT
stoddard    00/01/18 17:51:32

  Modified:    src/lib/apr/time/unix timestr.c
               src/lib/apr/time/win32 timestr.c
  Log:
  Make change suggested by Ben
  
  Revision  Changes    Path
  1.7       +1 -1      apache-2.0/src/lib/apr/time/unix/timestr.c
  
  Index: timestr.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/time/unix/timestr.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- timestr.c	2000/01/17 23:23:46	1.6
  +++ timestr.c	2000/01/19 01:51:30	1.7
  @@ -159,7 +159,7 @@
                           const char *format, ap_exploded_time_t *xt)
   {
       struct tm tm;
  -    memset(&tm, 0, sizeof(struct tm));
  +    memset(&tm, 0, sizeof tm);
       tm.tm_sec  = xt->tm_sec;
       tm.tm_min  = xt->tm_min;
       tm.tm_hour = xt->tm_hour;
  
  
  
  1.2       +1 -1      apache-2.0/src/lib/apr/time/win32/timestr.c
  
  Index: timestr.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/time/win32/timestr.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- timestr.c	2000/01/17 19:42:14	1.1
  +++ timestr.c	2000/01/19 01:51:31	1.2
  @@ -159,7 +159,7 @@
                           const char *format, ap_exploded_time_t *xt)
   {
       struct tm tm;
  -    memset(&tm, 0, sizeof(struct tm));
  +    memset(&tm, 0, sizeof tm);
       tm.tm_sec  = xt->tm_sec;
       tm.tm_min  = xt->tm_min;
       tm.tm_hour = xt->tm_hour;
  
  
  

Mime
View raw message