From: Pierangelo Masarati Date: Sun, 23 Jan 2005 21:44:42 +0000 (+0000) Subject: cleanup X-Git-Tag: OPENLDAP_REL_ENG_2_3_BP~277 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=03dba8c111ce3f0b8e59daec6a4aa2c27b651249;p=openldap cleanup --- diff --git a/servers/slapd/saslauthz.c b/servers/slapd/saslauthz.c index 1c0c1339c6..28e44248cd 100644 --- a/servers/slapd/saslauthz.c +++ b/servers/slapd/saslauthz.c @@ -1101,8 +1101,7 @@ void slap_sasl2dn( Operation *opx, "converting SASL name %s to a DN\n", saslname->bv_val, 0,0 ); - sasldn->bv_val = NULL; - sasldn->bv_len = 0; + BER_BVZERO( sasldn ); cb.sc_private = sasldn; /* Convert the SASL name into a minimal URI */