From 4c61b9a8f797192616c957841d96211f524fabd2 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sun, 30 Jan 2005 23:14:41 +0000 Subject: [PATCH] further improve of previous commit --- servers/slapd/back-dnssrv/search.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/servers/slapd/back-dnssrv/search.c b/servers/slapd/back-dnssrv/search.c index 14734a7e67..521162889a 100644 --- a/servers/slapd/back-dnssrv/search.c +++ b/servers/slapd/back-dnssrv/search.c @@ -198,6 +198,9 @@ dnssrv_back_search( } else if ( p != NULL ) { bv.bv_len = p - bv.bv_val; + + } else { + bv.bv_len = strlen( bv.bv_val ); } attr_mergeit_one( e, ad_dc, &bv ); -- 2.39.5