From 6aded32c94941f0d4385e44583932e32d6106cf6 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 27 Mar 2004 23:25:50 +0000 Subject: [PATCH] cleanup --- servers/slapd/back-dnssrv/bind.c | 4 +++- servers/slapd/back-dnssrv/compare.c | 3 +-- servers/slapd/back-dnssrv/config.c | 5 +---- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/servers/slapd/back-dnssrv/bind.c b/servers/slapd/back-dnssrv/bind.c index 137516ccb0..529ced8a87 100644 --- a/servers/slapd/back-dnssrv/bind.c +++ b/servers/slapd/back-dnssrv/bind.c @@ -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, diff --git a/servers/slapd/back-dnssrv/compare.c b/servers/slapd/back-dnssrv/compare.c index 6db8715794..50464d5b08 100644 --- a/servers/slapd/back-dnssrv/compare.c +++ b/servers/slapd/back-dnssrv/compare.c @@ -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; } diff --git a/servers/slapd/back-dnssrv/config.c b/servers/slapd/back-dnssrv/config.c index 2f9b314b15..d809179b4b 100644 --- a/servers/slapd/back-dnssrv/config.c +++ b/servers/slapd/back-dnssrv/config.c @@ -46,8 +46,5 @@ dnssrv_back_db_config( } /* no configuration options (yet) */ - { - return SLAP_CONF_UNKNOWN; - } - return 0; + return SLAP_CONF_UNKNOWN; } -- 2.39.5