aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/utils.c')
-rw-r--r--FICS/utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/FICS/utils.c b/FICS/utils.c
index 96b54cd..679aa08 100644
--- a/FICS/utils.c
+++ b/FICS/utils.c
@@ -563,7 +563,8 @@ psend_file(int p, const char *dir, const char *file)
pprintf(p, "Type [next] to see next page.\n");
}
- fclose(fp);
+ if (fclose(fp) != 0)
+ warn("%s: fclose() error", __func__);
return 0;
}