]> git.sur5r.net Git - openldap/commitdiff
cleanup
authorPierangelo Masarati <ando@openldap.org>
Sun, 23 Jan 2005 21:44:42 +0000 (21:44 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sun, 23 Jan 2005 21:44:42 +0000 (21:44 +0000)
servers/slapd/saslauthz.c

index 1c0c1339c6c87d752f12b2641748b26363bbc916..28e44248cd71df6f374ff5eb30119c134fd7d86f 100644 (file)
@@ -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 */