From e300362eeeb0e64a653176f4c590160d87a43e7e Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sat, 7 Mar 2026 21:59:06 +0100 Subject: Log fclose() error --- FICS/utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'FICS/utils.c') diff --git a/FICS/utils.c b/FICS/utils.c index 127892f..38c7a81 100644 --- a/FICS/utils.c +++ b/FICS/utils.c @@ -650,7 +650,8 @@ pmore_file(int p) parray[p].last_file_byte = 0L; } - fclose(fp); + if (fclose(fp) != 0) + warn("%s: fclose() error", __func__); return 0; } -- cgit v1.2.3