]> git.sur5r.net Git - openldap/commitdiff
cleanup
authorKurt Zeilenga <kurt@openldap.org>
Mon, 15 Sep 2003 21:53:58 +0000 (21:53 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 15 Sep 2003 21:53:58 +0000 (21:53 +0000)
servers/slapd/back-bdb/passwd.c
servers/slapd/back-ldbm/passwd.c
servers/slapd/passwd.c

index c75aba915dbae6bd2091c394a8a20a86fef3938c..e8ca8f70f76434e4aa7bc107504b4ce084057a03 100644 (file)
@@ -212,7 +212,8 @@ retry:      /* transaction retry */
        if( rc != 0 ) {
 #ifdef NEW_LOGGING
                LDAP_LOG ( OPERATION, ERR, 
-                       "bdb_exop_passwd: txn_begin(2) failed: %s (%d)\n", db_strerror(rs->sr_err), rs->sr_err, 0 );
+                       "bdb_exop_passwd: txn_begin(2) failed: %s (%d)\n",
+                       db_strerror(rs->sr_err), rs->sr_err, 0 );
 #else
                Debug( LDAP_DEBUG_TRACE,
                        "bdb_exop_passwd: txn_begin(2) failed: %s (%d)\n",
@@ -222,6 +223,7 @@ retry:      /* transaction retry */
                rs->sr_text = "internal error";
                goto done;
        }
+
        {
                Modifications ml;
                struct berval vals[2];
index 18e8920f25b796c185972f503b951f6682f297bc..b5d0c5ebdcce00a6a05111968bf8832a1ee82fb4 100644 (file)
@@ -40,13 +40,12 @@ ldbm_back_exop_passwd(
 
 #ifdef NEW_LOGGING
        LDAP_LOG( BACK_LDBM, ENTRY,
-                  "ldbm_back_exop_passwd: \"%s\"\n", id.bv_val ? id.bv_val : "", 0,0 );
+               "ldbm_back_exop_passwd: \"%s\"\n", id.bv_val ? id.bv_val : "", 0,0 );
 #else
        Debug( LDAP_DEBUG_ARGS, "==> ldbm_back_exop_passwd: \"%s\"\n",
                id.bv_val ? id.bv_val : "", 0, 0 );
 #endif
 
-
        if( rc != LDAP_SUCCESS ) {
                goto done;
        }
index d1f7cdcd32ebb78a09c738242437615f5c46acd8..80241ecd14134717ec0e5ef6697920b92c65619a 100644 (file)
@@ -59,8 +59,7 @@ int passwd_extop(
                BerVarray defref = NULL;
                if ( op->o_bd->syncinfo ) {
                        defref = op->o_bd->syncinfo->provideruri_bv;
-               } else
-               {
+               } else {
                        defref = referral_rewrite( op->o_bd->be_update_refs,
                                NULL, NULL, LDAP_SCOPE_DEFAULT );
                }