]> git.sur5r.net Git - openldap/commitdiff
Fix ldap_set_option( NULL, LDAP_OPT_PROTOCOL_VERSION, &v ) as
authorKurt Zeilenga <kurt@openldap.org>
Wed, 16 Feb 2000 22:59:15 +0000 (22:59 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 16 Feb 2000 22:59:15 +0000 (22:59 +0000)
suggested by Steve Sonntag.

libraries/libldap/options.c

index 62af0ec4f96bf17a9a2e7fb87fbefe071a9df064..237609c6f365527162faa13bb10f6070e44919d0 100644 (file)
@@ -444,7 +444,7 @@ ldap_set_option(
                                /* not supported */
                                break;
                        }
-                       ld->ld_version = vers;
+                       lo->ldo_version = vers;
                } return LDAP_OPT_SUCCESS;