diff options
| author | Garrett D'Amore <garrett@damore.org> | 2021-07-10 17:01:58 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2021-07-10 17:03:24 -0700 |
| commit | ba34c3a22a9244f5b2afca3c7ca766503ed63f16 (patch) | |
| tree | b45b70e760dd8bdf561213cfe9df5ee143f9b5ab /src/core/pipe.c | |
| parent | 16597cc81cc9fbdfd15349be1b0bd57fb9392241 (diff) | |
| download | nng-ba34c3a22a9244f5b2afca3c7ca766503ed63f16.tar.gz nng-ba34c3a22a9244f5b2afca3c7ca766503ed63f16.tar.bz2 nng-ba34c3a22a9244f5b2afca3c7ca766503ed63f16.zip | |
More work on moving SP stuff out of common. Remove unused defs.
Diffstat (limited to 'src/core/pipe.c')
| -rw-r--r-- | src/core/pipe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/pipe.c b/src/core/pipe.c index 47304fe7..91ff8a19 100644 --- a/src/core/pipe.c +++ b/src/core/pipe.c @@ -245,7 +245,7 @@ pipe_stats_init(nni_pipe *p) #endif // NNG_ENABLE_STATS static int -pipe_create(nni_pipe **pp, nni_sock *sock, nni_tran *tran, void *tdata) +pipe_create(nni_pipe **pp, nni_sock *sock, nni_sp_tran *tran, void *tdata) { nni_pipe * p; int rv; @@ -303,7 +303,7 @@ int nni_pipe_create_dialer(nni_pipe **pp, nni_dialer *d, void *tdata) { int rv; - nni_tran *tran = d->d_tran; + nni_sp_tran *tran = d->d_tran; nni_pipe *p; if ((rv = pipe_create(&p, d->d_sock, tran, tdata)) != 0) { @@ -327,7 +327,7 @@ int nni_pipe_create_listener(nni_pipe **pp, nni_listener *l, void *tdata) { int rv; - nni_tran *tran = l->l_tran; + nni_sp_tran *tran = l->l_tran; nni_pipe *p; if ((rv = pipe_create(&p, l->l_sock, tran, tdata)) != 0) { |
