From ac0e7216dda1acf8220ac3146a870d096ce640f9 Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Fri, 20 Jan 2006 22:39:09 +0000 Subject: [PATCH] Error message if AREAFILE fidoconfig can't open --- goldlib/gcfg/gxhpt.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/goldlib/gcfg/gxhpt.cpp b/goldlib/gcfg/gxhpt.cpp index 0d088f7..eecdc57 100644 --- a/goldlib/gcfg/gxhpt.cpp +++ b/goldlib/gcfg/gxhpt.cpp @@ -25,6 +25,7 @@ // ------------------------------------------------------------------ #include +#include #include #include #include @@ -379,6 +380,8 @@ void gareafile::ReadHPTFile(char* path, char* file, char* origin, int group) { skip_config: fclose(fp); + }else{ + STD_PRINTNL(" * AREAFILE FIDOCONFIG: Can't open file '" << path << '/' << file << ": " << strerror(errno) ); } }