* ldap.cc (cyg_ldap::map_ldaperr_to_errno): Explicitely map LDAP_TIMEOUT

to EIO.
This commit is contained in:
Corinna Vinschen
2014-06-25 09:28:12 +00:00
parent e35b92c202
commit 37b1464588
2 changed files with 7 additions and 0 deletions

View File

@@ -89,6 +89,8 @@ cyg_ldap::map_ldaperr_to_errno (ULONG lerr)
is SO wrong, especially considering that LDAP_MORE_RESULTS_TO_RETURN
is mapped to ERROR_MORE_DATA as well :-P */
return ENMFILE;
case LDAP_TIMEOUT:
return EIO;
default:
break;
}