aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-07-05 15:59:40 -0700
committerGarrett D'Amore <garrett@damore.org>2017-07-05 15:59:40 -0700
commit5ee6713c34963ed400c8886213ed2ee53c367c74 (patch)
tree53239d3fa9123fcc66068bda151fd18a10df209b /tests
parent372d03889b1398016056d1641d31705b75d97c9a (diff)
downloadnng-5ee6713c34963ed400c8886213ed2ee53c367c74.tar.gz
nng-5ee6713c34963ed400c8886213ed2ee53c367c74.tar.bz2
nng-5ee6713c34963ed400c8886213ed2ee53c367c74.zip
Move TCP negotiation out of sync accept/connect.
Diffstat (limited to 'tests')
-rw-r--r--tests/tcp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tcp.c b/tests/tcp.c
index 9f248fe8..b37e239c 100644
--- a/tests/tcp.c
+++ b/tests/tcp.c
@@ -40,4 +40,6 @@ TestMain("TCP Transport", {
So(nng_listen(s1, "tcp://*:5771", NULL, NNG_FLAG_SYNCH) == 0);
So(nng_dial(s2, "tcp://127.0.0.1:5771", NULL, NNG_FLAG_SYNCH) == 0);
})
+
+ nng_fini();
})