]> git.sur5r.net Git - openldap/commitdiff
ITS#3278 use correct connection for sasl_install()
authorHoward Chu <hyc@openldap.org>
Fri, 13 May 2005 05:22:08 +0000 (05:22 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 13 May 2005 05:22:08 +0000 (05:22 +0000)
libraries/libldap/cyrus.c

index c88ad94cc28d7e4681edf457c19a89cebcaade34..553d39faa99dc5e4f6813735c96c50788aa1c1a2 100644 (file)
@@ -807,7 +807,7 @@ ldap_int_sasl_bind(
                                sasl_dispose( &oldctx );
                                ldap_pvt_sasl_remove( ld->ld_defconn->lconn_sb );
                        }
-                       ldap_pvt_sasl_install( ld->ld_conns->lconn_sb, ctx );
+                       ldap_pvt_sasl_install( ld->ld_defconn->lconn_sb, ctx );
                        ld->ld_defconn->lconn_sasl_sockctx = ctx;
                }
        }