From: Pierangelo Masarati Date: Sun, 30 Jan 2005 23:14:41 +0000 (+0000) Subject: further improve of previous commit X-Git-Tag: OPENLDAP_REL_ENG_2_3_BP~205 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4c61b9a8f797192616c957841d96211f524fabd2;p=openldap further improve of previous commit --- 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 );