]> git.sur5r.net Git - openldap/commitdiff
Fix msgid bug
authorKurt Zeilenga <kurt@openldap.org>
Thu, 6 Mar 2003 20:08:00 +0000 (20:08 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 6 Mar 2003 20:08:00 +0000 (20:08 +0000)
libraries/libldap/kbind.c

index 0d32aac0e037310ee0d192396cbd4482115f0eaf..aae6ce5aea862cec28d51b4b925ee523ff892745 100644 (file)
@@ -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 */
        }