Commit 07e93b1c authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix msgid bug

parent 01e6bc18
......@@ -123,7 +123,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 */
}
......@@ -209,7 +209,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 */
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment