diff options
| author | Markus Uhlin <markus@nifty-networks.net> | 2026-03-07 21:59:06 +0100 |
|---|---|---|
| committer | Markus Uhlin <markus@nifty-networks.net> | 2026-03-07 21:59:06 +0100 |
| commit | e300362eeeb0e64a653176f4c590160d87a43e7e (patch) | |
| tree | 9958245fa78508170d10708a5e86c9f948c929ed /FICS/utils.c | |
| parent | 3107b1c1e542a65da2725a4720a40515bdbea324 (diff) | |
Log fclose() error
Diffstat (limited to 'FICS/utils.c')
| -rw-r--r-- | FICS/utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |
