Minor cleanup of last commit

This commit is contained in:
Kurt Zeilenga 2001-09-18 18:24:47 +00:00
parent fb852d7d80
commit 22688a7ad6

View File

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