]> git.sur5r.net Git - openldap/commitdiff
cleanup
authorKurt Zeilenga <kurt@openldap.org>
Sat, 27 Mar 2004 23:25:50 +0000 (23:25 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 27 Mar 2004 23:25:50 +0000 (23:25 +0000)
servers/slapd/back-dnssrv/bind.c
servers/slapd/back-dnssrv/compare.c
servers/slapd/back-dnssrv/config.c

index 137516ccb05955a2375f50cb396fc67afe74f4f7..529ced8a87a2d35e0314f7e2577a373bf81630d4 100644 (file)
@@ -39,7 +39,9 @@ dnssrv_back_bind(
                op->o_req_dn.bv_val == NULL ? "" : op->o_req_dn.bv_val, 
                op->oq_bind.rb_method, NULL );
                
-       if( op->oq_bind.rb_method == LDAP_AUTH_SIMPLE && op->oq_bind.rb_cred.bv_val != NULL && op->oq_bind.rb_cred.bv_len ) {
+       if( op->oq_bind.rb_method == LDAP_AUTH_SIMPLE &&
+               op->oq_bind.rb_cred.bv_val != NULL && op->oq_bind.rb_cred.bv_len )
+       {
                Statslog( LDAP_DEBUG_STATS,
                        "conn=%lu op=%lu DNSSRV BIND dn=\"%s\" provided passwd\n",
                         op->o_connid, op->o_opid,
index 6db87157949158b15536f047e122bfc106433f5a..50464d5b08c2637867bab91d46ec2ad89996ede1 100644 (file)
@@ -39,9 +39,8 @@ dnssrv_back_compare(
        assert( get_manageDSAit( op ) );
 #endif
        send_ldap_error( op, rs, LDAP_OTHER,
-                       "Operation not supported within naming context" );
+               "Operation not supported within naming context" );
 
        /* not implemented */
-
        return 1;
 }
index 2f9b314b152ec6a85031ca8d06e32904b20dff2f..d809179b4b79d2061f9b7f3b4941ef0738851b87 100644 (file)
@@ -46,8 +46,5 @@ dnssrv_back_db_config(
        }
 
        /* no configuration options (yet) */
-       {
-               return SLAP_CONF_UNKNOWN;
-       }
-       return 0;
+       return SLAP_CONF_UNKNOWN;
 }