Error throwing clean-up

This commit is contained in:
2016-08-23 17:20:04 +02:00
parent 894f19a81e
commit 7b3251a758
2 changed files with 17 additions and 10 deletions

View File

@@ -105,7 +105,7 @@ EAP_ERROR* eap::module::make_error(_In_ std::exception &err) const
{
sec_runtime_error &e(dynamic_cast<sec_runtime_error&>(err));
if (&e)
return make_error(HRESULT_CODE(e.number()), what.c_str());
return make_error(SCODE_CODE(e.number()), what.c_str());
}
{