]> git.sur5r.net Git - openldap/commitdiff
fix erroneous logging
authorPierangelo Masarati <ando@openldap.org>
Sun, 20 Jun 2004 22:42:04 +0000 (22:42 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sun, 20 Jun 2004 22:42:04 +0000 (22:42 +0000)
servers/slapd/back-ldap/map.c

index 1d91a21bbab9d407490c5f08b30e5cbda3564199..4c28a56bfad4e630faa24b41f08ad89ea4f15761 100644 (file)
@@ -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;