From 45f4839578fa9d3360f6c8392516941211e42884 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 15 Jun 2000 17:12:53 +0000 Subject: [PATCH] Fix initialization bug --- servers/slapd/compare.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/compare.c b/servers/slapd/compare.c index a26c49741c..821281aa37 100644 --- a/servers/slapd/compare.c +++ b/servers/slapd/compare.c @@ -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, -- 2.39.5