]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-shell/add.c
Update of back-bdb2 to KDZ's new entry lock schema.
[openldap] / servers / slapd / back-shell / add.c
index 9a6663bb5bfc94ea65e66a3e9b2fdae2cd2c1277..61752d3278b9174b697901c0a912aac5ec523c59 100644 (file)
@@ -38,9 +38,9 @@ shell_back_add(
        fprintf( wfp, "ADD\n" );
        fprintf( wfp, "msgid: %ld\n", op->o_msgid );
        print_suffixes( wfp, be );
-       pthread_mutex_lock( &entry2str_mutex );
+       ldap_pvt_thread_mutex_lock( &entry2str_mutex );
        fprintf( wfp, "%s", entry2str( e, &len, 0 ) );
-       pthread_mutex_unlock( &entry2str_mutex );
+       ldap_pvt_thread_mutex_unlock( &entry2str_mutex );
        fclose( wfp );
 
        /* read in the result and send it along */