Skip to content

Commit

Permalink
minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamore committed Dec 28, 2023
1 parent be64186 commit 2432078
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sp/transport/socket/sockfd.c
Original file line number Diff line number Diff line change
Expand Up @@ -896,8 +896,8 @@ sfd_tran_ep_set_recvmaxsz(void *arg, const void *v, size_t sz, nni_opt_type t)
static int
sfd_tran_ep_bind(void *arg)
{
NNI_ARG_UNUSED(arg);
return (0);
sfd_tran_ep *ep = arg;
return (nng_stream_listener_listen(ep->listener));
}

static void
Expand Down Expand Up @@ -988,7 +988,7 @@ sfd_tran_listener_setopt(

static nni_sp_dialer_ops sfd_tran_dialer_ops = {
.d_init = sfd_tran_dialer_init,
.d_fini = sfd_tran_ep_fini,
.d_fini = NULL,
.d_connect = NULL,
.d_close = NULL,
.d_getopt = NULL,
Expand Down

0 comments on commit 2432078

Please sign in to comment.