Use enum-based error code constants.

This commit is contained in:
chris_kohlhoff 2007-09-10 23:23:47 +00:00
parent ef08c1514e
commit 07e65e0a9c

View File

@ -174,12 +174,12 @@ public:
if (error_code == SSL_ERROR_SYSCALL)
{
return handler_(asio::error_code(
sys_error_code, asio::native_ecat), rc);
sys_error_code, asio::error::system_category), rc);
}
else
{
return handler_(asio::error_code(
error_code, asio::ssl_ecat), rc);
error_code, asio::error::ssl_category), rc);
}
}