aboutsummaryrefslogtreecommitdiff
path: root/src/sp/protocol/reqrep0/rep_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp/protocol/reqrep0/rep_test.c')
-rw-r--r--src/sp/protocol/reqrep0/rep_test.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sp/protocol/reqrep0/rep_test.c b/src/sp/protocol/reqrep0/rep_test.c
index 57da9cac..1a535998 100644
--- a/src/sp/protocol/reqrep0/rep_test.c
+++ b/src/sp/protocol/reqrep0/rep_test.c
@@ -1,5 +1,5 @@
//
-// Copyright 2020 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
@@ -137,10 +137,10 @@ test_rep_context_no_poll(void)
void
test_rep_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_rep0_open(&s1));