aboutsummaryrefslogtreecommitdiff
path: root/test/test_msgnet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_msgnet.cpp')
-rw-r--r--test/test_msgnet.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_msgnet.cpp b/test/test_msgnet.cpp
index 088e0ff..7635af8 100644
--- a/test/test_msgnet.cpp
+++ b/test/test_msgnet.cpp
@@ -108,8 +108,9 @@ struct MyNet: public MsgNetworkByteOp {
{
printf("[%s] Disconnected, retrying.\n", this->name.c_str());
/* try to reconnect to the same address */
- connect(conn->get_addr());
+ connect(conn->get_addr(), false);
}
+ return true;
});
}