aboutsummaryrefslogtreecommitdiff
path: root/src/sp/protocol/pubsub0/sub_test.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-01-03 12:46:33 -0800
committerGarrett D'Amore <garrett@damore.org>2025-01-04 09:48:44 -0800
commit57e736b5be2052484eec44889586bd89a2724c71 (patch)
treef579d2863d7d31e202f083ab6d5f5fe85651e64c /src/sp/protocol/pubsub0/sub_test.c
parentcefc6e1995f7f8e53e16db745eac7a86c2ebffd3 (diff)
downloadnng-57e736b5be2052484eec44889586bd89a2724c71.tar.gz
nng-57e736b5be2052484eec44889586bd89a2724c71.tar.bz2
nng-57e736b5be2052484eec44889586bd89a2724c71.zip
api: rename nng_send_aio and nng_recv_aio to nng_socket_send and nng_socket_recv
This aligns more closely with the nng_ctx functions.
Diffstat (limited to 'src/sp/protocol/pubsub0/sub_test.c')
-rw-r--r--src/sp/protocol/pubsub0/sub_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp/protocol/pubsub0/sub_test.c b/src/sp/protocol/pubsub0/sub_test.c
index 6899d47d..5c72b8bd 100644
--- a/src/sp/protocol/pubsub0/sub_test.c
+++ b/src/sp/protocol/pubsub0/sub_test.c
@@ -140,7 +140,7 @@ test_sub_recv_late(void)
NUTS_MARRY(pub, sub);
NUTS_TRUE(nuts_poll_fd(fd) == false);
- nng_recv_aio(sub, aio);
+ nng_socket_recv(sub, aio);
// But once we send messages, it is.
// We have to send a request, in order to send a reply.