From 08d0a48ac52c7bff581eccde356a86674ff467d3 Mon Sep 17 00:00:00 2001 From: Julius Enarusai Date: Thu, 7 Mar 2002 17:50:56 +0000 Subject: [PATCH] The following file fails compile when NEW_LOGGING is enabled. --- servers/slapd/config.c | 2 +- servers/slapd/schema_check.c | 2 +- servers/slapd/schema_init.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/servers/slapd/config.c b/servers/slapd/config.c index e9a56641b1..f9f25de652 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -378,7 +378,7 @@ read_config( const char *fname ) LDAP_LOG(( "config", LDAP_LEVEL_INFO, "%s: line %d: " "default search base \"%s\" already defined " "(discarding old)\n", fname, lineno, - default_search_base->bv_val )); + default_search_base.bv_val )); #else Debug( LDAP_DEBUG_ANY, "%s: line %d: " "default search base \"%s\" already defined " diff --git a/servers/slapd/schema_check.c b/servers/slapd/schema_check.c index ae9641e6e7..405a47e548 100644 --- a/servers/slapd/schema_check.c +++ b/servers/slapd/schema_check.c @@ -163,7 +163,7 @@ entry_schema_check( if ( aoc == NULL ) { #ifdef NEW_LOGGING LDAP_LOG(( "schema", LDAP_LEVEL_INFO, - "entry_schema_check: No objectClass for entry (%s).\n" + "entry_schema_check: No objectClass for entry (%s).\n", e->e_dn )); #else Debug( LDAP_DEBUG_ANY, "No objectClass for entry (%s)\n", diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index 2a65e5f7e8..ca94bbb14e 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -3644,7 +3644,7 @@ certificateExactMatch( LDAP_LOG(( "schema", LDAP_LEVEL_ENTRY, "certificateExactMatch: %d\n %s $ %s\n %s $ %s\n", *matchp, serial->bv_val, issuer_dn->bv_val, - asserted->serial->bv_val, asserted_issuer_dn->bv_val)); + asserted_serial->bv_val, asserted_issuer_dn->bv_val)); #else Debug( LDAP_DEBUG_ARGS, "certificateExactMatch " "%d\n\t\"%s $ %s\"\n", -- 2.39.5