fixes typo, references #213

This commit is contained in:
Peter Thorson
2013-04-26 06:15:42 -05:00
parent fe28f29ab4
commit f46b305df8

View File

@@ -174,7 +174,7 @@ void endpoint<connection,config>::close(connection_hdl hdl,
const close::status::value code, const std::string & reason)
{
lib::error_code ec;
send(hdl,code,reason,ec);
close(hdl,code,reason,ec);
if (ec) { throw ec; }
}