From: Kurt Zeilenga Date: Wed, 16 Feb 2000 22:59:15 +0000 (+0000) Subject: Fix ldap_set_option( NULL, LDAP_OPT_PROTOCOL_VERSION, &v ) as X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~3187 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b8c8f6ef6f1b76c730033710d86e6bd9b4fcc5f0;p=openldap Fix ldap_set_option( NULL, LDAP_OPT_PROTOCOL_VERSION, &v ) as suggested by Steve Sonntag. --- diff --git a/libraries/libldap/options.c b/libraries/libldap/options.c index 62af0ec4f9..237609c6f3 100644 --- a/libraries/libldap/options.c +++ b/libraries/libldap/options.c @@ -444,7 +444,7 @@ ldap_set_option( /* not supported */ break; } - ld->ld_version = vers; + lo->ldo_version = vers; } return LDAP_OPT_SUCCESS;