Skip to content
Snippets Groups Projects
Commit bd4c6b84 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Bug in chkResponseList loop (ITS#1047) from David @ Novell

parent 7f91ee93
No related branches found
No related tags found
No related merge requests found
......@@ -166,9 +166,9 @@ chkResponseList(
}
for ( tmp = lm; tmp != NULL; tmp = tmp->lm_chain ) {
if ( lm->lm_msgtype != LDAP_RES_SEARCH_ENTRY
&& lm->lm_msgtype != LDAP_RES_SEARCH_REFERENCE
&& lm->lm_msgtype != LDAP_RES_EXTENDED_PARTIAL )
if ( tmp->lm_msgtype != LDAP_RES_SEARCH_ENTRY
&& tmp->lm_msgtype != LDAP_RES_SEARCH_REFERENCE
&& tmp->lm_msgtype != LDAP_RES_EXTENDED_PARTIAL )
{
break;
}
......@@ -211,6 +211,7 @@ chkResponseList(
#endif
return lm;
}
static int
wait4msg(
LDAP *ld,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment