Permalink
Browse files

EAFNOSUPPORT should be mapped to LCB_CONNECT_EFAIL on windows

Change-Id: Iab0cc799aef8cda3e164c9f692ab899baa5d26be
Reviewed-on: http://review.couchbase.org/25170
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
  • Loading branch information...
1 parent 32a62bc commit 21c3c129435a15f20669070d63a65690f28f420d @avsej avsej committed with trondn Mar 15, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/utilities.c
View
@@ -73,11 +73,11 @@ lcb_connect_status_t lcb_connect_status(int err)
return LCB_CONNECT_EISCONN;
/* Possible to get these from a bad dns lookup */
- case EAFNOSUPPORT:
case EINVAL:
#ifdef _WIN32
return LCB_CONNECT_EINVAL;
#endif
+ case EAFNOSUPPORT:
case ECONNREFUSED:
case ENETUNREACH:

0 comments on commit 21c3c12

Please sign in to comment.