summaryrefslogtreecommitdiff
path: root/src/platform/windows/win_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/windows/win_debug.c')
-rw-r--r--src/platform/windows/win_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platform/windows/win_debug.c b/src/platform/windows/win_debug.c
index 3b3c4ab7..b9e2fbe0 100644
--- a/src/platform/windows/win_debug.c
+++ b/src/platform/windows/win_debug.c
@@ -1,5 +1,5 @@
//
-// Copyright 2020 Staysail Systems, Inc. <info@staysail.tech>
+// Copyright 2024 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
@@ -111,7 +111,7 @@ static struct {
{ ERROR_DUP_NAME, NNG_EADDRINUSE },
{ ERROR_BROKEN_PIPE, NNG_ECLOSED },
{ ERROR_BAD_PIPE, NNG_ECLOSED },
- { ERROR_NO_DATA, NNG_ECLOSED },
+ { ERROR_NO_DATA, NNG_ECONNRESET },
{ ERROR_PIPE_NOT_CONNECTED, NNG_ECLOSED },
{ ERROR_OPERATION_ABORTED, NNG_ECLOSED },
{ ERROR_SHARING_VIOLATION, NNG_EBUSY },