From 80a57b28738c0bfa093a27740a56a36cb544b500 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sun, 17 Dec 2023 19:24:56 +0100 Subject: Pass NULL to time() --- FICS/ficsmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FICS/ficsmain.c b/FICS/ficsmain.c index 1317955..1ff9c6e 100644 --- a/FICS/ficsmain.c +++ b/FICS/ficsmain.c @@ -149,7 +149,7 @@ main(int argc, char *argv[]) return EXIT_FAILURE; } - startuptime = time(0); + startuptime = time(NULL); strcpy(fics_hostname, SERVER_HOSTNAME); game_high = 0; player_high = 0; -- cgit v1.2.3