From 1cf3205d805be83e17ce096305d6eaef94e3a4d2 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 15 Jan 2020 22:16:09 -0800 Subject: RESPOND needs to use atomic for TTL. Also, add a test to cover the RESPOND protocol. This gets about 95% of the coverage. --- src/nng.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nng.c') diff --git a/src/nng.c b/src/nng.c index b3179988..d758adab 100644 --- a/src/nng.c +++ b/src/nng.c @@ -1,5 +1,5 @@ // -// Copyright 2018 Staysail Systems, Inc. +// Copyright 2020 Staysail Systems, Inc. // Copyright 2018 Capitar IT Group BV // // This software is supplied under the terms of the MIT License, a @@ -43,7 +43,7 @@ nng_close(nng_socket s) } // No release -- close releases it. nni_sock_close(sock); - return (rv); + return (0); } int -- cgit v1.2.3-70-g09d2