From 6c27bf332c0f5dee811468b18b04d9b476e3efe5 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 17 Jan 2004 18:26:36 +0000 Subject: [PATCH] cleanup --- servers/slapd/back-sql/search.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) 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; } -- 2.39.5