diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-12-15 21:23:26 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-12-15 21:23:26 -0800 |
| commit | ab460d51aee7cedd0a8d17553741b3a6dc836dc7 (patch) | |
| tree | f2214ae3ecbed6110293021620d4328235ef93ee /src/sp/transport/socket/sockfd.c | |
| parent | a43eb958e47f4c70725299845a3b7c69bbba9467 (diff) | |
| download | nng-ab460d51aee7cedd0a8d17553741b3a6dc836dc7.tar.gz nng-ab460d51aee7cedd0a8d17553741b3a6dc836dc7.tar.bz2 nng-ab460d51aee7cedd0a8d17553741b3a6dc836dc7.zip | |
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.
Diffstat (limited to 'src/sp/transport/socket/sockfd.c')
| -rw-r--r-- | src/sp/transport/socket/sockfd.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |
