]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/ava.c
Add some initial BDB_INDEX code... needs much work.
[openldap] / servers / slapd / ava.c
index 1b57254f6b88d42b27073f30854263ba0eab1c05..69157a954a278a91bc1bf4acf94f4573872ae089 100644 (file)
@@ -43,7 +43,12 @@ get_ava(
        rc = ber_scanf( ber, "{oo}", &type, &value );
 
        if( rc == LBER_ERROR ) {
+#ifdef NEW_LOGGING
+               LDAP_LOG(( "filter", LDAP_LEVEL_ERR,
+                          "get_ava:  ber_scanf failure\n" ));
+#else
                Debug( LDAP_DEBUG_ANY, "  get_ava ber_scanf\n", 0, 0, 0 );
+#endif
                *text = "Error decoding attribute value assertion";
                return SLAPD_DISCONNECT;
        }