mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
fix prev commit
This commit is contained in:
parent
d787d7692e
commit
cafc204a13
@ -1139,7 +1139,7 @@ static int process_response(
|
|||||||
const char *dn )
|
const char *dn )
|
||||||
{
|
{
|
||||||
LDAPMessage *res;
|
LDAPMessage *res;
|
||||||
int rc = LDAP_OTHER;
|
int rc = LDAP_OTHER, msgtype;
|
||||||
struct timeval tv = { 0, 0 };
|
struct timeval tv = { 0, 0 };
|
||||||
int err;
|
int err;
|
||||||
char *text = NULL, *matched = NULL, **refs = NULL;
|
char *text = NULL, *matched = NULL, **refs = NULL;
|
||||||
@ -1164,6 +1164,8 @@ static int process_response(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
msgtype = ldap_msgtype( res );
|
||||||
|
|
||||||
rc = ldap_parse_result( ld, res, &err, &matched, &text, &refs, &ctrls, 1 );
|
rc = ldap_parse_result( ld, res, &err, &matched, &text, &refs, &ctrls, 1 );
|
||||||
if ( rc == LDAP_SUCCESS ) rc = err;
|
if ( rc == LDAP_SUCCESS ) rc = err;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user