From ab460d51aee7cedd0a8d17553741b3a6dc836dc7 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 15 Dec 2024 21:23:26 -0800 Subject: transports: all transports use the new inline approach We can retire the old approach that used separate allocations, and all of the supporting code. This also gives us a more natural signature for the end point initializations. --- src/sp/transport/socket/sockfd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sp/transport/socket') diff --git a/src/sp/transport/socket/sockfd.c b/src/sp/transport/socket/sockfd.c index d066f837..646151ed 100644 --- a/src/sp/transport/socket/sockfd.c +++ b/src/sp/transport/socket/sockfd.c @@ -694,9 +694,9 @@ error: } static int -sfd_tran_listener_init(void **lp, nng_url *url, nni_listener *nlistener) +sfd_tran_listener_init(void *arg, nng_url *url, nni_listener *nlistener) { - sfd_tran_ep *ep = (void *) lp; + sfd_tran_ep *ep = arg; int rv; nni_sock *sock = nni_listener_sock(nlistener); -- cgit v1.2.3-70-g09d2