diff options
author | Martin Sustrik <sustrik@250bpm.cpm> | 2012-03-01 16:15:06 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-03-06 10:35:47 +0100 |
commit | 27edee3225cb71f5ab790a5fd2635429ce32daf8 (patch) | |
tree | c4805aa7fd09f9c55ff3ba78b75629cb2cee71cb | |
parent | c6fa5ac5f79f65713455f0a387e3d7daf30ec7bf (diff) |
WSAEACCES correctly convrted into EACCES
Signed-off-by: Martin Sustrik <sustrik@250bpm.cpm>
-rw-r--r-- | src/err.cpp | 3 |
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); } |