diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-05-07 09:09:13 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-05-12 09:30:46 +0200 |
| commit | 0a0cd345520382bd726fef50c62864715b03f164 (patch) | |
| tree | aeb8a42d8fa0adae4e336d8f7488fa0aff65b568 /src/init.cpp | |
| parent | Merge pull request #4175 (diff) | |
| download | discoin-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