summaryrefslogtreecommitdiffstats
path: root/net/base/net_errors_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/net_errors_win.cc')
-rw-r--r--net/base/net_errors_win.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/base/net_errors_win.cc b/net/base/net_errors_win.cc
index face1cc..fbb5a16 100644
--- a/net/base/net_errors_win.cc
+++ b/net/base/net_errors_win.cc
@@ -42,6 +42,8 @@ Error MapSystemError(int os_error) {
return ERR_SOCKET_NOT_CONNECTED;
case WSAEAFNOSUPPORT:
return ERR_ADDRESS_UNREACHABLE;
+ case WSAEINVAL:
+ return ERR_INVALID_ARGUMENT;
case ERROR_SUCCESS:
return OK;
default: