From 03dba8c111ce3f0b8e59daec6a4aa2c27b651249 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sun, 23 Jan 2005 21:44:42 +0000 Subject: [PATCH] cleanup --- servers/slapd/saslauthz.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 */ -- 2.39.5