]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/connection.c
LCUP primitive routines removed
[openldap] / servers / slapd / connection.c
index 8a8d4cab85a62a1e80acc85f455068510f9eb987..cd789799f4d6fae0f4f263212d9b103acb61b7a6 100644 (file)
@@ -1069,17 +1069,9 @@ operations_error:
        LDAP_STAILQ_REMOVE( &conn->c_ops, op, slap_op, o_next);
        LDAP_STAILQ_NEXT(op, o_next) = NULL;
 
-#if defined(LDAP_CLIENT_UPDATE) || defined(LDAP_SYNC)
+#ifdef LDAP_SYNC
        if ( op->o_cancel == SLAP_CANCEL_ACK )
                goto co_op_free;
-#endif
-#ifdef LDAP_CLIENT_UPDATE
-       if ( ( op->o_clientupdate_type & SLAP_LCUP_PERSIST ) ) {
-               sl_mem_detach( ctx, memctx );
-               goto no_co_op_free;
-       }
-#endif
-#ifdef LDAP_SYNC
        if ( ( op->o_sync_mode & SLAP_SYNC_PERSIST ) ) {
                sl_mem_detach( ctx, memctx );
                goto no_co_op_free;