From 3d90fcda3ad21820dfd5b794e785dc76ed5616a9 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 22 Jun 2002 21:27:38 +0000 Subject: [PATCH] authcId might be NULL --- servers/slurpd/ldap_op.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/servers/slurpd/ldap_op.c b/servers/slurpd/ldap_op.c index 66145f59e5..577950e4b0 100644 --- a/servers/slurpd/ldap_op.c +++ b/servers/slurpd/ldap_op.c @@ -903,10 +903,14 @@ do_bind( #ifdef NEW_LOGGING LDAP_LOG (( "operation", LDAP_LEVEL_ARGS, "do_bind: bind to %s as %s via %s (SASL)\n", - ri->ri_hostname, ri->ri_authcId, ri->ri_saslmech )); + ri->ri_hostname, + ri->ri_authcId ? ri->ri_authcId : "-", + ri->ri_saslmech )); #else Debug( LDAP_DEBUG_ARGS, "bind to %s as %s via %s (SASL)\n", - ri->ri_hostname, ri->ri_authcId, ri->ri_saslmech ); + ri->ri_hostname, + ri->ri_authcId ? ri->ri_authcId : "-", + ri->ri_saslmech ); #endif #ifdef HAVE_CYRUS_SASL -- 2.39.5