This commit is contained in:
luoliangyi 2022-12-31 14:09:58 +08:00
parent 034108eb37
commit 2f4e772e31
1 changed files with 1 additions and 0 deletions

View File

@ -191,6 +191,7 @@ static HGResult IniReadValue(const char* section, const char* key, char* val, co
if (0 != access(file, 0)) if (0 != access(file, 0))
#endif #endif
{ {
strcpy(val, def);
return HGBASE_ERR_FILENOTEXIST; return HGBASE_ERR_FILENOTEXIST;
} }