From 8797b9ce9cc4eadf4c2f495f5393ef9a78a7a28c Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Fri, 8 May 2020 14:14:24 +0200 Subject: [PATCH] debug --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index c20604d..c87c11f 100644 --- a/main.c +++ b/main.c @@ -38,7 +38,7 @@ char* frtime(const time_t timet) }; static char result[40]; date_tm = localtime(&timet); - strftime(result, 4, "%c", date_tm); + strftime(result, 40, "%c", date_tm); jour = atoi(result); strftime(result, 40, "%d/%m/%y à %x", date_tm); sprintf(result, "%d %s", jour, result);