diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-05-07 09:09:13 +0200 |
|---|---|---|
| committer | langerhans <[email protected]> | 2014-06-29 15:38:46 +0200 |
| commit | 623ed783538b89bd18878179dfda0dc744a81d46 (patch) | |
| tree | 41ce0c622ff1ebc9600b43f2903fa83fa00eeaa7 /src/test/data/script_valid.json | |
| parent | Switch stdout to line buffering (diff) | |
| download | discoin-623ed783538b89bd18878179dfda0dc744a81d46.tar.xz discoin-623ed783538b89bd18878179dfda0dc744a81d46.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/test/data/script_valid.json')
0 files changed, 0 insertions, 0 deletions