summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.cpm>2012-03-01 16:15:06 +0100
committerMartin Sustrik <sustrik@250bpm.com>2012-03-06 10:35:47 +0100
commit27edee3225cb71f5ab790a5fd2635429ce32daf8 (patch)
treec4805aa7fd09f9c55ff3ba78b75629cb2cee71cb /src
parentc6fa5ac5f79f65713455f0a387e3d7daf30ec7bf (diff)
WSAEACCES correctly convrted into EACCES
Signed-off-by: Martin Sustrik <sustrik@250bpm.cpm>
Diffstat (limited to 'src')
-rw-r--r--src/err.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/err.cpp b/src/err.cpp
index 5f22e32..f05cf06 100644
--- a/src/err.cpp
+++ b/src/err.cpp
@@ -245,6 +245,9 @@ void xs::wsa_error_to_errno ()
case WSAEAFNOSUPPORT:
errno = EAFNOSUPPORT;
return;
+ case WSAEACCES:
+ errno = EACCES;
+ return;
default:
wsa_assert (false);
}