]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/mra.c
rework op/rs structures to deal with opeartional attributes
[openldap] / servers / slapd / mra.c
index 029be6ce5b0d97064b4ac22ee9a9fd71e7d944a0..1e7a7e63782af0f8d48e586741c2a0938147aa81 100644 (file)
@@ -27,14 +27,11 @@ void
 mra_free(
        Operation *op,
        MatchingRuleAssertion *mra,
-       int     freeit
-)
+       int     freeit )
 {
        /* op->o_tmpfree( mra->ma_value.bv_val, op->o_tmpmemctx ); */
        ch_free( mra->ma_value.bv_val );
-       if ( freeit ) {
-               op->o_tmpfree( (char *) mra, op->o_tmpmemctx );
-       }
+       if ( freeit ) op->o_tmpfree( (char *) mra, op->o_tmpmemctx );
 }
 
 int
@@ -42,8 +39,7 @@ get_mra(
        Operation *op,
        BerElement      *ber,
        MatchingRuleAssertion   **mra,
-       const char **text
-)
+       const char **text )
 {
        int rc;
        ber_tag_t tag, rtag;