From c382c5efa26e88debeed9c574a39b15953154f69 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 17 Oct 2002 17:45:44 +0000 Subject: [PATCH] blind fix for NULL pointer in Debug() bug (ITS#2143) --- servers/slapd/back-sql/schema-map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/back-sql/schema-map.c b/servers/slapd/back-sql/schema-map.c index a0194561d0..140900cdc0 100644 --- a/servers/slapd/back-sql/schema-map.c +++ b/servers/slapd/back-sql/schema-map.c @@ -326,7 +326,7 @@ backsql_load_schema_map( backsql_info *si, SQLHDBC dbh ) Debug( LDAP_DEBUG_TRACE, "load_schema_map(): " "attribute '%s' for objectClass '%s' " "is not defined in schema: %s\n", - at_map->ad->ad_cname.bv_val, + at_rol.cols[ 0 ], BACKSQL_OC_NAME( oc_map ), text ); return LDAP_CONSTRAINT_VIOLATION; } -- 2.39.5