Use LDAP_OTHER to indicate internal error

This commit is contained in:
Kurt Zeilenga 2006-08-12 21:46:29 +00:00
parent f9cf518cdc
commit 4ba9bc1c2d
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View file

@ -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;
}