]> git.sur5r.net Git - openldap/commitdiff
cleanup
authorKurt Zeilenga <kurt@openldap.org>
Thu, 8 Apr 2004 02:43:52 +0000 (02:43 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 8 Apr 2004 02:43:52 +0000 (02:43 +0000)
servers/slapd/modify.c

index 05d827301dcc8d624b6fef20a4c54b107a541074..9e866be5815aac1caaf298d553f61104dec18cc8 100644 (file)
@@ -101,9 +101,7 @@ do_modify(
        Debug( LDAP_DEBUG_ARGS, "do_modify: dn (%s)\n", dn.bv_val, 0, 0 );
 #endif
 
-
        /* collect modifications & save for later */
-
        for ( tag = ber_first_element( op->o_ber, &len, &last );
            tag != LBER_DEFAULT;
            tag = ber_next_element( op->o_ber, &len, last ) )
@@ -117,7 +115,8 @@ do_modify(
                    &tmp.sml_type, &tmp.sml_values )
                    == LBER_ERROR )
                {
-                       send_ldap_discon( op, rs, LDAP_PROTOCOL_ERROR, "decoding modlist error" );
+                       send_ldap_discon( op, rs, LDAP_PROTOCOL_ERROR,
+                               "decoding modlist error" );
                        rs->sr_err = SLAPD_DISCONNECT;
                        goto cleanup;
                }
@@ -539,19 +538,20 @@ do_modify(
 #if defined( LDAP_SLAPI )
        } /* modlist != NULL */
 
-       if ( pb != NULL && slapi_int_call_plugins( op->o_bd, SLAPI_PLUGIN_POST_MODIFY_FN, pb ) < 0 ) {
+       if ( pb != NULL && slapi_int_call_plugins( op->o_bd,
+               SLAPI_PLUGIN_POST_MODIFY_FN, pb ) < 0 )
+       {
 #ifdef NEW_LOGGING
-               LDAP_LOG( OPERATION, INFO, "do_modify: modify postoperation plugins "
-                               "failed\n", 0, 0, 0 );
+               LDAP_LOG( OPERATION, INFO,
+                       "do_modify: modify postoperation plugins failed\n", 0, 0, 0 );
 #else
-               Debug(LDAP_DEBUG_TRACE, "do_modify: modify postoperation plugins "
-                               "failed.\n", 0, 0, 0);
+               Debug(LDAP_DEBUG_TRACE,
+                       "do_modify: modify postoperation plugins failed.\n", 0, 0, 0);
 #endif
        }
 #endif /* defined( LDAP_SLAPI ) */
 
 cleanup:
-
        slap_graduate_commit_csn( op );
 
        op->o_tmpfree( op->o_req_dn.bv_val, op->o_tmpmemctx );