diff options
Diffstat (limited to 'src/sp/protocol/pubsub0')
| -rw-r--r-- | src/sp/protocol/pubsub0/pub_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp/protocol/pubsub0/pub_test.c b/src/sp/protocol/pubsub0/pub_test.c index 8b3a5d78..2b571bef 100644 --- a/src/sp/protocol/pubsub0/pub_test.c +++ b/src/sp/protocol/pubsub0/pub_test.c @@ -193,7 +193,7 @@ test_pub_cooked(void) NUTS_PASS(nng_pub0_open(&s)); NUTS_PASS(nng_socket_raw(s, &b)); NUTS_TRUE(!b); - NUTS_PASS(nng_close(s)); + NUTS_CLOSE(s); // raw pub only differs in the option setting NUTS_PASS(nng_pub0_open_raw(&s)); |
