]> git.sur5r.net Git - openldap/commitdiff
cleanup
authorPierangelo Masarati <ando@openldap.org>
Sat, 17 Jan 2004 18:26:36 +0000 (18:26 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 17 Jan 2004 18:26:36 +0000 (18:26 +0000)
servers/slapd/back-sql/search.c

index 546b9dd321847bee208472e28a5d31bdd9b70705..fc89418bf7bd03ae1b67dcca5cae6eebbb04c6d5 100644 (file)
@@ -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;
 }