Include error code in call to set_option

This commit is contained in:
Johan Rönnkvist
2019-01-12 13:14:33 -08:00
committed by Vinnie Falco
parent 3595eb2221
commit be800436ea
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -1,6 +1,7 @@
Version 203
* Update networking refresher doc
* Include error code in call to set_option
--------------------------------------------------------------------------------
+1 -1
View File
@@ -31,7 +31,7 @@ listener(
}
// Allow address reuse
acceptor_.set_option(net::socket_base::reuse_address(true));
acceptor_.set_option(net::socket_base::reuse_address(true), ec);
if(ec)
{
fail(ec, "set_option");