From: Howard Chu Date: Thu, 25 Mar 2004 09:25:25 +0000 (+0000) Subject: ITS#3038 64bit compatibility (oops) X-Git-Tag: OPENLDAP_REL_ENG_2_2_BP~177 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1a314f3bca3bd2a7ed9a6d1af93c379e76274059;p=openldap ITS#3038 64bit compatibility (oops) --- diff --git a/servers/slapd/bind.c b/servers/slapd/bind.c index 212a5802b4..685773aec6 100644 --- a/servers/slapd/bind.c +++ b/servers/slapd/bind.c @@ -46,6 +46,7 @@ do_bind( { BerElement *ber = op->o_ber; ber_int_t version; + ber_tag_t method; struct berval mech = { 0, NULL }; struct berval dn = { 0, NULL }; ber_tag_t tag; @@ -106,7 +107,7 @@ do_bind( * } */ - tag = ber_scanf( ber, "{imt" /*}*/, &version, &dn, &op->orb_method ); + tag = ber_scanf( ber, "{imt" /*}*/, &version, &dn, &method ); if ( tag == LBER_ERROR ) { #ifdef NEW_LOGGING @@ -121,6 +122,7 @@ do_bind( } op->o_protocol = version; + op->orb_method = method; if( op->orb_method != LDAP_AUTH_SASL ) { tag = ber_scanf( ber, /*{*/ "m}", &op->orb_cred );