Commit 1a314f3b authored by Howard Chu's avatar Howard Chu
Browse files

ITS#3038 64bit compatibility (oops)

parent 3a468f5d
......@@ -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 );
......
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