aboutsummaryrefslogtreecommitdiff
path: root/test/bench_network.cpp
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-07-01 23:35:17 -0400
committerDeterminant <[email protected]>2019-07-01 23:35:17 -0400
commit53f776997d0e92650b9f3a16224cef1c0c76b716 (patch)
treede7c0a20dd4ba1d4bc5ea229e723ab8608ed94af /test/bench_network.cpp
parent85b9affbce70ac4b5922158802b227a42c42a203 (diff)
add async id for error handling
Diffstat (limited to 'test/bench_network.cpp')
-rw-r--r--test/bench_network.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bench_network.cpp b/test/bench_network.cpp
index 5575a66..1021ec4 100644
--- a/test/bench_network.cpp
+++ b/test/bench_network.cpp
@@ -117,7 +117,7 @@ struct MyNet: public MsgNetworkByteOp {
{
printf("[%s] disconnected, retrying.\n", this->name.c_str());
/* try to reconnect to the same address */
- connect(conn->get_addr(), false);
+ connect(conn->get_addr());
}
return true;
});