]> git.sur5r.net Git - openldap/commitdiff
Fix typo in berval commit
authorHoward Chu <hyc@openldap.org>
Mon, 24 Dec 2001 13:47:47 +0000 (13:47 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 24 Dec 2001 13:47:47 +0000 (13:47 +0000)
servers/slapd/bind.c

index d2747a0b67e16469e516b39cd189f2239eca83ee..6a78b4a51afde281424ec12c55cd4a688b5b6cc6 100644 (file)
@@ -497,8 +497,8 @@ do_bind(
                        ldap_pvt_thread_mutex_lock( &conn->c_mutex );
 
                        conn->c_cdn = pdn->bv_val;
-                       dn.bv_val = NULL;
-                       dn.bv_len = 0;
+                       pdn->bv_val = NULL;
+                       pdn->bv_len = 0;
 
                        if(edn != NULL) {
                                conn->c_dn = edn;