aboutsummaryrefslogtreecommitdiff
path: root/src/sp/protocol/bus0
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp/protocol/bus0')
-rw-r--r--src/sp/protocol/bus0/bus_test.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/sp/protocol/bus0/bus_test.c b/src/sp/protocol/bus0/bus_test.c
index 6a214972..a832d9dd 100644
--- a/src/sp/protocol/bus0/bus_test.c
+++ b/src/sp/protocol/bus0/bus_test.c
@@ -1,5 +1,5 @@
//
-// Copyright 2021 Staysail Systems, Inc. <info@staysail.tech>
+// Copyright 2024 Staysail Systems, Inc. <info@staysail.tech>
//
// This software is supplied under the terms of the MIT License, a
// copy of which should be located in the distribution where this
@@ -70,7 +70,7 @@ test_bus_device(void)
{
nng_socket s1, s2, s3;
nng_socket none = NNG_SOCKET_INITIALIZER;
- nng_aio *aio;
+ nng_aio *aio;
NUTS_PASS(nng_bus0_open_raw(&s1));
NUTS_PASS(nng_bus0_open(&s2));
@@ -101,10 +101,10 @@ test_bus_device(void)
static void
test_bus_validate_peer(void)
{
- nng_socket s1, s2;
- nng_stat *stats;
- nng_stat *reject;
- char *addr;
+ nng_socket s1, s2;
+ nng_stat *stats;
+ const nng_stat *reject;
+ char *addr;
NUTS_ADDR(addr, "inproc");
NUTS_PASS(nng_bus0_open(&s1));