From b3a0d5864a71319dc85721288b9935a2a701b29e Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 30 Oct 2017 14:04:25 -0700 Subject: fixes #136 consider eliminating nng_shutdown --- tests/pipeline.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/pipeline.c') diff --git a/tests/pipeline.c b/tests/pipeline.c index a7718dd6..31f02798 100644 --- a/tests/pipeline.c +++ b/tests/pipeline.c @@ -79,7 +79,7 @@ TestMain("PIPELINE (PUSH/PULL) pattern", { So(nng_listen(pull, addr, NULL, 0) == 0); So(nng_dial(push, addr, NULL, 0) == 0); So(nng_dial(what, addr, NULL, 0) == 0); - So(nng_shutdown(what) == 0); + So(nng_close(what) == 0); nng_msleep(20); @@ -146,7 +146,7 @@ TestMain("PIPELINE (PUSH/PULL) pattern", { So(nng_dial(pull1, addr, NULL, 0) == 0); So(nng_dial(pull2, addr, NULL, 0) == 0); So(nng_dial(pull3, addr, NULL, 0) == 0); - So(nng_shutdown(pull3) == 0); + So(nng_close(pull3) == 0); // So pull3 might not be done accepting yet, but pull1 // and pull2 definitely are, because otherwise the -- cgit v1.2.3-70-g09d2