diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-11-21 22:48:32 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-11-21 22:48:32 -0800 |
| commit | 925ac884f8bce34ad27fe18e851ebcecfe311356 (patch) | |
| tree | f5ef6ed18876688a695af49a89df12114505f65f /src/sp/transport/inproc | |
| parent | 7ea8abadec355eb7ea9f71fc2e2bdd73c1c77c62 (diff) | |
| download | nng-925ac884f8bce34ad27fe18e851ebcecfe311356.tar.gz nng-925ac884f8bce34ad27fe18e851ebcecfe311356.tar.bz2 nng-925ac884f8bce34ad27fe18e851ebcecfe311356.zip | |
Collect the bound port as part of the URL at bind time.
This is a step on cleaning up our logic around NNG_OPT_URL.
Diffstat (limited to 'src/sp/transport/inproc')
| -rw-r--r-- | src/sp/transport/inproc/inproc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sp/transport/inproc/inproc.c b/src/sp/transport/inproc/inproc.c index b759ccc0..5216b5e6 100644 --- a/src/sp/transport/inproc/inproc.c +++ b/src/sp/transport/inproc/inproc.c @@ -510,11 +510,12 @@ inproc_ep_connect(void *arg, nni_aio *aio) } static int -inproc_ep_bind(void *arg) +inproc_ep_bind(void *arg, nng_url *url) { inproc_ep *ep = arg; inproc_ep *srch; nni_list *list = &nni_inproc.servers; + NNI_ARG_UNUSED(url); nni_mtx_lock(&nni_inproc.mx); NNI_LIST_FOREACH (list, srch) { |
