mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 10:39:34 -05:00
Use LDAP_OTHER to indicate internal error
This commit is contained in:
parent
f9cf518cdc
commit
4ba9bc1c2d
2 changed files with 2 additions and 2 deletions
|
|
@ -1281,7 +1281,7 @@ retry:;
|
|||
if ( timeout ) {
|
||||
(void)ldap_back_cancel( lc, op, rs, msgid, sendok );
|
||||
rs->sr_err = op->o_protocol >= LDAP_VERSION3 ?
|
||||
LDAP_ADMINLIMIT_EXCEEDED : LDAP_OPERATIONS_ERROR;
|
||||
LDAP_ADMINLIMIT_EXCEEDED : LDAP_OTHER;
|
||||
rs->sr_text = "Operation timed out";
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -862,7 +862,7 @@ retry:;
|
|||
if ( timeout ) {
|
||||
(void)meta_back_cancel( mc, op, rs, msgid, candidate, sendok );
|
||||
rs->sr_err = op->o_protocol >= LDAP_VERSION3 ?
|
||||
LDAP_ADMINLIMIT_EXCEEDED : LDAP_OPERATIONS_ERROR;
|
||||
LDAP_ADMINLIMIT_EXCEEDED : LDAP_OTHER;
|
||||
rs->sr_text = "Operation timed out";
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue