From 9decee9041c94a96c224482a78cb643dfd5a5d8f Mon Sep 17 00:00:00 2001 From: Jonathan Hollocombe Date: Wed, 26 Jul 2023 16:12:38 +0100 Subject: [PATCH] Fixing error in errorLog.cpp --- source/clientserver/errorLog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/clientserver/errorLog.cpp b/source/clientserver/errorLog.cpp index d2f96bdf..78c60f8f 100755 --- a/source/clientserver/errorLog.cpp +++ b/source/clientserver/errorLog.cpp @@ -40,7 +40,7 @@ void udaErrorLog(CLIENT_BLOCK client_block, REQUEST_BLOCK request_block, UDA_ERR #ifndef _WIN32 asctime_r(broken, accessdate); #else - asctime_s(accessdate, DATELENGTH, broken); + asctime_s(accessdate, UDA_DATE_LENGTH, broken); #endif convertNonPrintable2(accessdate);