From: Kurt Zeilenga Date: Thu, 20 Jul 2000 01:04:34 +0000 (+0000) Subject: Fix mech==NULL bug X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2406 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a8521d3034649d7d2a4c552731201bb9dd715ce0;p=openldap Fix mech==NULL bug --- 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,