From a8521d3034649d7d2a4c552731201bb9dd715ce0 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 20 Jul 2000 01:04:34 +0000 Subject: [PATCH] Fix mech==NULL bug --- servers/slapd/sasl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/sasl.c b/servers/slapd/sasl.c index ba0e67d3b5..034f09a113 100644 --- a/servers/slapd/sasl.c +++ b/servers/slapd/sasl.c @@ -401,7 +401,7 @@ int slap_sasl_bind( Debug(LDAP_DEBUG_ARGS, "==> sasl_bind: dn=\"%s\" mech=%s cred->bv_len=%d\n", - dn, mech, cred ? cred->bv_len : 0 ); + dn, mech ? mech : "", cred ? cred->bv_len : 0 ); if( ctx == NULL ) { send_ldap_result( conn, op, LDAP_UNAVAILABLE, -- 2.39.5