]> git.sur5r.net Git - openldap/commitdiff
Fix c_mutex unlock bug
authorKurt Zeilenga <kurt@openldap.org>
Wed, 12 Apr 2000 01:40:06 +0000 (01:40 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 12 Apr 2000 01:40:06 +0000 (01:40 +0000)
servers/slapd/starttls.c

index 296d6df1d17811c8d718a06532241938a7b743b2..b464f56f2d28357a58d78e0161852bb123a56081 100644 (file)
@@ -82,7 +82,7 @@ starttls_extop (
 
 done:
        /* give up connection lock */
-       ldap_pvt_thread_mutex_lock( &conn->c_mutex );
+       ldap_pvt_thread_mutex_unlock( &conn->c_mutex );
 
        /*
         * RACE CONDITION: we give up lock before sending result