From df1087936acb2bbd9fc9abb7c62003c468de5fc4 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Fri, 8 May 2020 14:29:29 +0200 Subject: [PATCH] debug --- main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index d8b4c0c..82d0cf1 100644 --- a/main.c +++ b/main.c @@ -242,8 +242,9 @@ int main() char str[1024]; char date[60]; time_t now ; + char * locale; - setlocale(LC_ALL,NULL); + locale = setlocale(LC_ALL,NULL); time( &now ); sprintf( date, "%s", ctime(&now)); date[strlen(date)-1] = 0;