aboutsummaryrefslogtreecommitdiff
path: root/src/nng_compat.c
diff options
context:
space:
mode:
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
};