Commit Diff


commit - 30c7809195d2337388ac28eccc633d4b453622e5
commit + 1b49a3478621a50585947978c89cd094e1b5f75a
blob - 96b54cd4e33e068df6fa1a73f3a2610de333a377
blob + 679aa089260609345a2d0952d5c0ec6d70ccaa47
--- FICS/utils.c
+++ 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;
 }