aboutsummaryrefslogtreecommitdiff
path: root/src/nng.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nng.c')
-rw-r--r--src/nng.c4
1 files changed, 2 insertions, 2 deletions
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. <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