* ldap.cc (cyg_ldap::map_ldaperr_to_errno): Explicitely map LDAP_TIMEOUT
to EIO.
This commit is contained in:
parent
e35b92c202
commit
37b1464588
|
@ -1,3 +1,8 @@
|
|||
2014-06-25 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* ldap.cc (cyg_ldap::map_ldaperr_to_errno): Explicitely map LDAP_TIMEOUT
|
||||
to EIO.
|
||||
|
||||
2014-06-25 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* autoload.cc (ldap_search_sW): Replace ldap_search_stW.
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue