Commit 45f48395 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix initialization bug

parent 8cb40e89
......@@ -39,6 +39,7 @@ do_compare(
int rc = LDAP_SUCCESS;
const char *text = NULL;
ava.aa_desc = NULL;
desc.bv_val = NULL;
value.bv_val = NULL;
......@@ -93,7 +94,6 @@ do_compare(
goto cleanup;
}
ava.aa_desc = NULL;
rc = slap_bv2ad( &desc, &ava.aa_desc, &text );
if( rc != LDAP_SUCCESS ) {
send_ldap_result( conn, op, rc, NULL,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment