]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/cancel.c
Berkeley DB 4.2 support (DB 4.2 required by default)
[openldap] / servers / slapd / cancel.c
index a5ef060282aaa4908855d963256e43ab40125e3e..0916bcac9802f5fec580c87db00e78fc7c6cccf9 100644 (file)
@@ -78,7 +78,6 @@ int cancel_extop( Operation *op, SlapReply *rs )
        }
 
        if ( !found ) {
-#ifdef LDAP_SYNC
                for ( i = 0; i < nbackends; i++ ) {
                        op->o_bd = &backends[i];
                        if( !op->o_bd->be_cancel ) continue;
@@ -91,7 +90,6 @@ int cancel_extop( Operation *op, SlapReply *rs )
                        }
                        ldap_pvt_thread_mutex_lock( &op->o_conn->c_mutex );
                }
-#endif
                ldap_pvt_thread_mutex_unlock( &op->o_conn->c_mutex );
                rs->sr_text = "message ID not found";
                return LDAP_NO_SUCH_OPERATION;