aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2014-05-07 09:09:13 +0200
committerWladimir J. van der Laan <[email protected]>2014-05-12 09:30:46 +0200
commit0a0cd345520382bd726fef50c62864715b03f164 (patch)
treeaeb8a42d8fa0adae4e336d8f7488fa0aff65b568 /src/init.cpp
parentMerge pull request #4175 (diff)
downloaddiscoin-0a0cd345520382bd726fef50c62864715b03f164.tar.xz
discoin-0a0cd345520382bd726fef50c62864715b03f164.zip
rpc: pass errors from async_accept
According to the [boost::asio documentation](http://www.boost.org/doc/libs/1_55_0/doc/html/boost_asio/reference/basic_socket_acceptor/async_accept/overload2.html), the function signature of the handler must be: void handler( const boost::system::error_code& error // Result of operation. ); We were binding *all* the arguments, instead of all but the error, resulting in nullary function that never got the error. Fix this by adding an input argument substitution.
Diffstat (limited to 'src/init.cpp')
0 files changed, 0 insertions, 0 deletions