diff options
| author | Garrett D'Amore <garrett@damore.org> | 2020-01-15 22:16:09 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2020-01-16 20:22:15 -0800 |
| commit | 1cf3205d805be83e17ce096305d6eaef94e3a4d2 (patch) | |
| tree | cc726655772c9ba3682228889504adb562a5406a /src/nng.c | |
| parent | 49ea4dd5ec717303caeaef7f6f4efd10c90c94e1 (diff) | |
| download | nng-1cf3205d805be83e17ce096305d6eaef94e3a4d2.tar.gz nng-1cf3205d805be83e17ce096305d6eaef94e3a4d2.tar.bz2 nng-1cf3205d805be83e17ce096305d6eaef94e3a4d2.zip | |
RESPOND needs to use atomic for TTL.
Also, add a test to cover the RESPOND protocol. This gets about
95% of the coverage.
Diffstat (limited to 'src/nng.c')
| -rw-r--r-- | src/nng.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ // -// Copyright 2018 Staysail Systems, Inc. <info@staysail.tech> +// Copyright 2020 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // // 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 |
