diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-01-09 17:34:59 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-01-09 17:34:59 -0800 |
| commit | cc55226cf09497735e7bc7e6fa1785ba937ac339 (patch) | |
| tree | 7c16229a2b73ba712c1ca6965f76fb29108d2822 | |
| parent | 4c56a6264b3498c171a465c3542ae0c9d5b9e3f6 (diff) | |
| download | nng-cc55226cf09497735e7bc7e6fa1785ba937ac339.tar.gz nng-cc55226cf09497735e7bc7e6fa1785ba937ac339.tar.bz2 nng-cc55226cf09497735e7bc7e6fa1785ba937ac339.zip | |
Cleanup debug.
| -rw-r--r-- | tests/pubsub.c | 2 | ||||
| -rw-r--r-- | tests/survey.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/pubsub.c b/tests/pubsub.c index a49702d0..ac106afb 100644 --- a/tests/pubsub.c +++ b/tests/pubsub.c @@ -92,7 +92,7 @@ Main({ So(nng_setopt(sub, NNG_OPT_SUBSCRIBE, "ABC", 3) == 0); So(nng_setopt(sub, NNG_OPT_SUBSCRIBE, "", 0) == 0); Convey("Unsubscribe works", { - rv = nng_setopt(sub, NNG_OPT_UNSUBSCRIBE, "ABC", 3); + So(nng_setopt(sub, NNG_OPT_UNSUBSCRIBE, "ABC", 3) == 0); So(nng_setopt(sub, NNG_OPT_UNSUBSCRIBE, "", 0) == 0); So(nng_setopt(sub, NNG_OPT_UNSUBSCRIBE, "", 0) == NNG_ENOENT); diff --git a/tests/survey.c b/tests/survey.c index 58de5986..237d7e2a 100644 --- a/tests/survey.c +++ b/tests/survey.c @@ -117,7 +117,6 @@ Main({ So(nng_recvmsg(surv, &msg, 0) == NNG_ETIMEDOUT); Convey("And goes to non-survey state", { - printf("WAITING HERE"); rtimeo = 50000; So(nng_setopt(surv, NNG_OPT_RCVTIMEO, &rtimeo, sizeof (rtimeo)) == 0); rv = nng_recvmsg(surv, &msg, 0); |
