Use correct handler signature in fail_op

fix #716
This commit is contained in:
Vinnie Falco committed 2017-08-03 04:21:24 -07:00
1 parent 1f0ad880fc
commit e5e25f5c17
3 files changed
+37 -2

No files matched your search

+2 -2
View File
@@ -225,9 +225,9 @@ operator()(error_code ec, std::size_t)
ws_.wr_op_.maybe_invoke();
if(! dispatched_)
ws_.stream_.get_io_service().post(
bind_handler(std::move(h_), ec));
bind_handler(std::move(h_), ec, 0));
else
h_(ec);
h_(ec, 0);
}
} // websocket