Include error code in call to set_option

This commit is contained in:
Johan Rönnkvist authored and Vinnie Falco committed 2019-01-12 13:14:33 -08:00
1 parent 3595eb2221
commit be800436ea
2 files changed
+2 -1

No files matched your search

+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");