Error message if AREAFILE fidoconfig can't open

This commit is contained in:
Stas Degteff 2006-01-20 22:39:09 +00:00
parent 0c874292ed
commit ac0e7216dd

View File

@ -25,6 +25,7 @@
// ------------------------------------------------------------------ // ------------------------------------------------------------------
#include <cstdlib> #include <cstdlib>
#include <cerrno>
#include <gcrcall.h> #include <gcrcall.h>
#include <gstrall.h> #include <gstrall.h>
#include <gmemdbg.h> #include <gmemdbg.h>
@ -379,6 +380,8 @@ void gareafile::ReadHPTFile(char* path, char* file, char* origin, int group) {
skip_config: skip_config:
fclose(fp); fclose(fp);
}else{
STD_PRINTNL(" * AREAFILE FIDOCONFIG: Can't open file '" << path << '/' << file << ": " << strerror(errno) );
} }
} }