aboutsummaryrefslogtreecommitdiff
path: root/tests/ipc.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ipc.c')
-rw-r--r--tests/ipc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/ipc.c b/tests/ipc.c
index 4011f2ae..6ea0830c 100644
--- a/tests/ipc.c
+++ b/tests/ipc.c
@@ -38,14 +38,10 @@ check_props(nng_msg *msg)
So(nng_pipe_get_addr(p, NNG_OPT_LOCADDR, &la) == 0);
So(la.s_family == NNG_AF_IPC);
// untyped
- z = sizeof(nng_sockaddr);
- So(nng_pipe_get(p, NNG_OPT_REMADDR, &ra, &z) == 0);
- So(z == sizeof(ra));
+ So(nng_pipe_get_addr(p, NNG_OPT_REMADDR, &ra) == 0);
So(ra.s_family == NNG_AF_IPC);
So(nng_pipe_get_size(p, NNG_OPT_REMADDR, &z) == NNG_EBADTYPE);
- z = 1;
- So(nng_pipe_get(p, NNG_OPT_REMADDR, &ra, &z) == NNG_EINVAL);
#ifdef _WIN32
So(nng_pipe_get_uint64(p, NNG_OPT_IPC_PEER_UID, &id) == NNG_ENOTSUP);