aboutsummaryrefslogtreecommitdiff
path: root/tests/pair1.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-08-12 12:24:54 -0700
committerGarrett D'Amore <garrett@damore.org>2017-08-14 13:43:02 -0700
commit343417234aa3fd86e8ae0b56ae500a1ed3411cfc (patch)
tree728992cfe8c2987d5939026a1f734dcc58b3df18 /tests/pair1.c
parent4fb81f024e5f32a186cd5538574f8e5796980e36 (diff)
downloadnng-343417234aa3fd86e8ae0b56ae500a1ed3411cfc.tar.gz
nng-343417234aa3fd86e8ae0b56ae500a1ed3411cfc.tar.bz2
nng-343417234aa3fd86e8ae0b56ae500a1ed3411cfc.zip
fixes #62 Endpoint close should be synchronous #62
fixes #66 Make pipe and endpoint structures private This changes a number of things, refactoring endpoints and supporting code to keep their internals private, and making endpoint close synchronous. This will allow us to add a consumer facing API for nng_ep_close(), as well as property APIs, etc. While here a bunch of convoluted and dead code was cleaned up.
Diffstat (limited to 'tests/pair1.c')
-rw-r--r--tests/pair1.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/pair1.c b/tests/pair1.c
index 5a8311e2..c5916e82 100644
--- a/tests/pair1.c
+++ b/tests/pair1.c
@@ -73,7 +73,6 @@ TestMain("PAIRv1 protocol", {
});
Convey("Monogamous mode ignores new conns", {
- int rv;
nng_msg *msg;
So(nng_listen(s1, addr, NULL, NNG_FLAG_SYNCH) == 0);
@@ -394,8 +393,6 @@ TestMain("PAIRv1 protocol", {
Convey("Polyamorous default works", {
nng_msg *msg;
- nng_pipe p1;
- size_t sz;
So(nng_setopt_int(s1, NNG_OPT_POLYAMOROUS, 1) == 0);