]> git.sur5r.net Git - openldap/commitdiff
Minor cleanup of last commit
authorKurt Zeilenga <kurt@openldap.org>
Tue, 18 Sep 2001 18:24:47 +0000 (18:24 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 18 Sep 2001 18:24:47 +0000 (18:24 +0000)
servers/slapd/sasl.c

index ca814513c7cdcb436fee00cda58530941b0dc34e..04bb8b0d954522a99c444efa79badadda907c60c 100644 (file)
@@ -636,10 +636,9 @@ int slap_sasl_bind(
        }
 
        if ( !conn->c_sasl_bind_in_progress ) {
-               const char *kludge = "";
                sc = sasl_server_start( ctx,
                        conn->c_sasl_bind_mech,
-                       cred->bv_len ? cred->bv_val : kludge,
+                       cred->bv_len ? cred->bv_val : "",
                        cred->bv_len,
                        (char **)&response.bv_val, &reslen, &errstr );