aboutsummaryrefslogtreecommitdiff
path: root/test/test_msgnet.cpp
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-06-23 02:00:19 -0400
committerDeterminant <[email protected]>2019-06-23 02:00:19 -0400
commit13e2643356bfcdeffd9f6e854f07ee68f29dc23b (patch)
tree8fae57e59a8a82676ef17d321b03cf4525933b87 /test/test_msgnet.cpp
parentda9410b41cf56340fd4a3e5148df704c9c0e139c (diff)
get rid of `self()` and `release_self()`; fix hidden bugs
Diffstat (limited to 'test/test_msgnet.cpp')
-rw-r--r--test/test_msgnet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_msgnet.cpp b/test/test_msgnet.cpp
index 7635af8..f6dbe1b 100644
--- a/test/test_msgnet.cpp
+++ b/test/test_msgnet.cpp
@@ -151,8 +151,8 @@ int main() {
bob.listen(bob_addr);
/* try to connect once */
- alice.connect(bob_addr);
- bob.connect(alice_addr);
+ alice.connect(bob_addr, false);
+ bob.connect(alice_addr, false);
/* the main loop can be shutdown by ctrl-c or kill */
auto shutdown = [&](int) {ec.stop();};