From 8230b6549c33ee0138d2c836050dba2bd70f0699 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sat, 7 Mar 2026 12:24:03 +0100 Subject: psend_raw_file: log fclose() error --- FICS/utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'FICS') diff --git a/FICS/utils.c b/FICS/utils.c index 77a3ebb..7cbb608 100644 --- a/FICS/utils.c +++ b/FICS/utils.c @@ -514,7 +514,8 @@ psend_raw_file(int p, const char *dir, const char *file) return -1; } - fclose(fp); + if (fclose(fp) != 0) + warn("%s: fclose() error", __func__); return 0; } -- cgit v1.2.3