aboutsummaryrefslogtreecommitdiff
path: root/src/nng_compat.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-08-09 19:05:28 -0700
committerGarrett D'Amore <garrett@damore.org>2017-08-09 19:05:28 -0700
commit9feb54e9c7ab116ba566086a76604338f86e3bc3 (patch)
treefb8f2aeaef74db92f02377d6e1045f5237b694a7 /src/nng_compat.c
parent052dad14137e60c24e6bf6e4551d7009bdeb19e9 (diff)
downloadnng-9feb54e9c7ab116ba566086a76604338f86e3bc3.tar.gz
nng-9feb54e9c7ab116ba566086a76604338f86e3bc3.tar.bz2
nng-9feb54e9c7ab116ba566086a76604338f86e3bc3.zip
fixes #47 compat_reqttls fails sometimes
fixes #23 Restore the old idhash logic for sockets
Diffstat (limited to 'src/nng_compat.c')
-rw-r--r--src/nng_compat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nng_compat.c b/src/nng_compat.c
index 34fc6553..e03ff42d 100644
--- a/src/nng_compat.c
+++ b/src/nng_compat.c
@@ -41,6 +41,7 @@ static struct {
{ NNG_EMSGSIZE, EMSGSIZE },
{ NNG_ECONNABORTED, ECONNABORTED },
{ NNG_ECONNRESET, ECONNRESET },
+ { NNG_ECANCELED, EBADF },
{ 0, 0 },
// clang-format on
};