aboutsummaryrefslogtreecommitdiff
path: root/tests/sock.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sock.c')
-rw-r--r--tests/sock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sock.c b/tests/sock.c
index 123354ac..9ceb99cb 100644
--- a/tests/sock.c
+++ b/tests/sock.c
@@ -20,7 +20,7 @@ Main({
Convey("We are able to open a PAIR socket", {
int rv;
- nng_socket *sock = NULL;
+ nng_socket sock = NULL;
rv = nng_open(&sock, NNG_PROTO_PAIR);
So(rv == 0);
@@ -147,7 +147,7 @@ Main({
})
Convey("We can send and receive messages", {
- nng_socket *sock2 = NULL;
+ nng_socket sock2 = NULL;
int len = 1;
nng_msg *msg;
uint64_t second = 1000000;