From: Pierangelo Masarati Date: Sun, 20 Jun 2004 22:42:04 +0000 (+0000) Subject: fix erroneous logging X-Git-Tag: OPENDLAP_REL_ENG_2_2_MP~215 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=176e5542bb2a3c710ee5174425d41190dc2545c5;p=openldap fix erroneous logging --- diff --git a/servers/slapd/back-ldap/map.c b/servers/slapd/back-ldap/map.c index 1d91a21bba..4c28a56bfa 100644 --- a/servers/slapd/back-ldap/map.c +++ b/servers/slapd/back-ldap/map.c @@ -495,11 +495,11 @@ ldap_back_filter_map_rewrite( #ifdef NEW_LOGGING LDAP_LOG( BACK_LDAP, DETAIL1, "[rw] %s: \"%s\" -> \"%s\"\n", - dc->ctx, ftmp.bv_val, fstr->bv_val ); + fdc.ctx, ftmp.bv_val, fstr->bv_val ); #else /* !NEW_LOGGING */ Debug( LDAP_DEBUG_ARGS, "[rw] %s: \"%s\" -> \"%s\"\n", - dc->ctx, ftmp.bv_val, fstr->bv_val ); + fdc.ctx, ftmp.bv_val, fstr->bv_val ); #endif /* !NEW_LOGGING */ rc = LDAP_SUCCESS; break;