specify flags when opening UE db

This commit is contained in:
Andre Puschmann 2018-01-18 11:38:03 +01:00
parent 8eeaafba56
commit 0d5c110246
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ hss::set_auth_algo(std::string auth_algo)
bool
hss::read_db_file(std::string db_filename)
{
m_db_file.open(db_filename.c_str());
m_db_file.open(db_filename.c_str(), std::ifstream::in);
if(!m_db_file.is_open())
{
return false;