diff options
Diffstat (limited to 'src/sp/pipe_test.c')
| -rw-r--r-- | src/sp/pipe_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp/pipe_test.c b/src/sp/pipe_test.c index 787eac69..c0219813 100644 --- a/src/sp/pipe_test.c +++ b/src/sp/pipe_test.c @@ -143,8 +143,8 @@ init_cases(char *addr, struct testcase *push, struct testcase *pull) static void fini_cases(struct testcase *push, struct testcase *pull) { - nng_close(push->s); - nng_close(pull->s); + nng_socket_close(push->s); + nng_socket_close(pull->s); nng_cv_free(push->cv); nng_cv_free(pull->cv); nng_mtx_free(push->lk); |
