From b838f3e2a1c2d6414b7fb2edc53d85f53ccd9eb3 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 19 Jul 2005 18:59:50 +0000 Subject: [PATCH] Solaris doesn't like being passed NULL pointers to [vsf[n]]printf --- servers/slapd/bconfig.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index 899547da12..39a1cda461 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -1564,7 +1564,9 @@ config_suffix(ConfigArgs *c) if ( notallowed != NULL ) { Debug(LDAP_DEBUG_ANY, "%s: suffix <%s> not allowed in %s database.\n", - c->log, c->value_dn.bv_val, notallowed ); + c->log, + BER_BVISNULL( &c->value_dn ) ? "NULL" : c->value_dn.bv_val, + notallowed ); return 1; } -- 2.39.5