aboutsummaryrefslogtreecommitdiff
path: root/src/sp/protocol/pubsub0/xsub_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp/protocol/pubsub0/xsub_test.c')
-rw-r--r--src/sp/protocol/pubsub0/xsub_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp/protocol/pubsub0/xsub_test.c b/src/sp/protocol/pubsub0/xsub_test.c
index 8e5568c4..eec73505 100644
--- a/src/sp/protocol/pubsub0/xsub_test.c
+++ b/src/sp/protocol/pubsub0/xsub_test.c
@@ -283,7 +283,7 @@ test_xsub_raw(void)
bool b;
NUTS_PASS(nng_sub0_open_raw(&s));
- NUTS_PASS(nng_socket_get_bool(s, NNG_OPT_RAW, &b));
+ NUTS_PASS(nng_socket_raw(s, &b));
NUTS_TRUE(b);
NUTS_CLOSE(s);
}