From: Pierangelo Masarati Date: Sat, 17 Jan 2004 18:26:36 +0000 (+0000) Subject: cleanup X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~12 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6c27bf332c0f5dee811468b18b04d9b476e3efe5;p=openldap cleanup --- diff --git a/servers/slapd/back-sql/search.c b/servers/slapd/back-sql/search.c index 546b9dd321..fc89418bf7 100644 --- a/servers/slapd/back-sql/search.c +++ b/servers/slapd/back-sql/search.c @@ -542,15 +542,11 @@ done:; if ( vat ) { ch_free( vat ); } - if ( rc == 1 ) { - Debug( LDAP_DEBUG_TRACE, - "<==backsql_process_filter() succeeded\n", - 0, 0, 0 ); - } else { - Debug( LDAP_DEBUG_TRACE, - "<==backsql_process_filter() failed\n", - 0, 0, 0 ); - } + + Debug( LDAP_DEBUG_TRACE, + "<==backsql_process_filter() %s\n", + rc == 1 ? "succeeded" : "failed", 0, 0); + return rc; }