]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Bug #1671 isc_time_now was erroneously calling strtime()
authorDanny Mayer <source@isc.org>
Wed, 29 Aug 2001 05:13:42 +0000 (05:13 +0000)
committerDanny Mayer <source@isc.org>
Wed, 29 Aug 2001 05:13:42 +0000 (05:13 +0000)
lib/isc/win32/time.c

index 8f039a099851460f9589e338d97045987424d73e..8203106fbb134c376ab1afbc819194ca9582c069 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: time.c,v 1.23 2001/07/09 21:06:22 gson Exp $ */
+/* $Id: time.c,v 1.24 2001/08/29 05:13:42 mayer Exp $ */
 
 /*
  * Windows has a different epoch than Unix. Therefore this code sets the epoch
@@ -139,13 +139,11 @@ isc_time_isepoch(isc_time_t *t) {
 
 isc_result_t
 isc_time_now(isc_time_t *t) {
-       char dtime[10];
 
        REQUIRE(t != NULL);
 
        GetSystemTimeAsFileTime(&t->absolute);
 
-       _strtime(dtime);
        return (ISC_R_SUCCESS);
 }