]> git.sur5r.net Git - openldap/commitdiff
further improve of previous commit
authorPierangelo Masarati <ando@openldap.org>
Sun, 30 Jan 2005 23:14:41 +0000 (23:14 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sun, 30 Jan 2005 23:14:41 +0000 (23:14 +0000)
servers/slapd/back-dnssrv/search.c

index 14734a7e670dd161a9f43243c7cc58965f22800e..521162889ad3d00b05122ebb968dfd6099746b91 100644 (file)
@@ -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 );