From 06b47b13dbc1c29e8a453ed7081a57d17f3400f1 Mon Sep 17 00:00:00 2001 From: Danny Mayer Date: Wed, 29 Aug 2001 05:13:42 +0000 Subject: [PATCH] Bug #1671 isc_time_now was erroneously calling strtime() --- lib/isc/win32/time.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/isc/win32/time.c b/lib/isc/win32/time.c index 8f039a0998..8203106fbb 100644 --- a/lib/isc/win32/time.c +++ b/lib/isc/win32/time.c @@ -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); }