commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r809087 - /commons/sandbox/runtime/trunk/src/main/native/os/win32/time.c
Date Sat, 29 Aug 2009 06:58:55 GMT
Author: mturk
Date: Sat Aug 29 06:58:55 2009
New Revision: 809087

URL: http://svn.apache.org/viewvc?rev=809087&view=rev
Log:
Fix copy/paste typos

Modified:
    commons/sandbox/runtime/trunk/src/main/native/os/win32/time.c

Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/time.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/time.c?rev=809087&r1=809086&r2=809087&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/time.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/time.c Sat Aug 29 06:58:55 2009
@@ -52,7 +52,7 @@
     return days * ACR_USEC_PER_SEC + xt->tm_usec;
 }
 
-static void SystemTimeToAprExpTime(apr_tm_t *xt, SYSTEMTIME *tm)
+static void SystemTimeToAprExpTime(acr_tm_t *xt, SYSTEMTIME *tm)
 {
     static const int dayoffset[12] =
     { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334 };
@@ -90,7 +90,7 @@
      * generally UTC, so no timezone info needed
      */
     SystemTimeToAprExpTime(xt, &st);
-    xt->tm_usec = (acr_int32_t) (input % ACR_USEC_PER_SEC);
+    xt->tm_usec = (acr_int32_t) (t % ACR_USEC_PER_SEC);
 }
 
 ACR_DECLARE(acr_time_t) ACR_TimeNow(void)



Mime
View raw message