aboutsummaryrefslogtreecommitdiff
path: root/src/sp/pipe_test.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-12-31 13:26:44 -0800
committerGarrett D'Amore <garrett@damore.org>2024-12-31 13:26:44 -0800
commitb0874b1dad787c32093a3ff81311e2d638dc6538 (patch)
treecde1005cef02954893fe2d9786d248930f857200 /src/sp/pipe_test.c
parent2a4a14646f95b21cbc8f9b5bef8d76cd0fe04fec (diff)
downloadnng-b0874b1dad787c32093a3ff81311e2d638dc6538.tar.gz
nng-b0874b1dad787c32093a3ff81311e2d638dc6538.tar.bz2
nng-b0874b1dad787c32093a3ff81311e2d638dc6538.zip
socket: rename nng_close to nng_socket_close
Diffstat (limited to 'src/sp/pipe_test.c')
-rw-r--r--src/sp/pipe_test.c4
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);