diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-06-29 18:05:56 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-06-29 18:05:56 -0700 |
| commit | 0cb73648b774f57135f56045a2fdb773fdf9c88b (patch) | |
| tree | aa9f9726ffcc5df9e7936daa0d0d3994378ad839 /src/platform/posix/posix_net.c | |
| parent | fa6c49708c1e4bbb2bb0b93f1dbce6887cfb2193 (diff) | |
| download | nng-0cb73648b774f57135f56045a2fdb773fdf9c88b.tar.gz nng-0cb73648b774f57135f56045a2fdb773fdf9c88b.tar.bz2 nng-0cb73648b774f57135f56045a2fdb773fdf9c88b.zip | |
Use common POSIX socket handling for IPC.
Diffstat (limited to 'src/platform/posix/posix_net.c')
| -rw-r--r-- | src/platform/posix/posix_net.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platform/posix/posix_net.c b/src/platform/posix/posix_net.c index 161ffc7c..4ba67f9c 100644 --- a/src/platform/posix/posix_net.c +++ b/src/platform/posix/posix_net.c @@ -85,13 +85,13 @@ nni_plat_tcp_aio_recv(nni_plat_tcpsock *s, nni_aio *aio) int -nni_plat_tcp_init(nni_plat_tcpsock **tspp) +nni_plat_tcp_init(nni_plat_tcpsock **sp) { nni_posix_sock *s; int rv; if ((rv = nni_posix_sock_init(&s)) == 0) { - *tspp = (void *) s; + *sp = (void *) s; } return (rv); } |
