mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 17:19:43 -05:00
Pass correct msgid to ldap_result
This commit is contained in:
parent
aa84264fc2
commit
ec63a1f87f
1 changed files with 2 additions and 2 deletions
|
|
@ -125,7 +125,7 @@ ldap_kerberos_bind1_s( LDAP *ld, LDAP_CONST char *dn )
|
|||
return( ld->ld_errno );
|
||||
|
||||
/* wait for a result */
|
||||
if ( ldap_result( ld, ld->ld_msgid, 1, (struct timeval *) 0, &res )
|
||||
if ( ldap_result( ld, msgid, 1, (struct timeval *) 0, &res )
|
||||
== -1 ) {
|
||||
return( ld->ld_errno ); /* ldap_result sets ld_errno */
|
||||
}
|
||||
|
|
@ -212,7 +212,7 @@ ldap_kerberos_bind2_s( LDAP *ld, LDAP_CONST char *dn )
|
|||
return( ld->ld_errno );
|
||||
|
||||
/* wait for a result */
|
||||
if ( ldap_result( ld, ld->ld_msgid, 1, (struct timeval *) 0, &res )
|
||||
if ( ldap_result( ld, msgid, 1, (struct timeval *) 0, &res )
|
||||
== -1 ) {
|
||||
return( ld->ld_errno ); /* ldap_result sets ld_errno */
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue