From d218848b142b7fffbcfc6e869904b65e87dedda7 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Thu, 3 Apr 2003 22:48:17 +0000 Subject: [PATCH] of course there's a better way to skip a tag :) --- servers/slapd/back-ldap/search.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/servers/slapd/back-ldap/search.c b/servers/slapd/back-ldap/search.c index 2012e76ee4..81cb8e18a9 100644 --- a/servers/slapd/back-ldap/search.c +++ b/servers/slapd/back-ldap/search.c @@ -468,7 +468,7 @@ ldap_build_entry( /* no subschemaSubentry */ if ( attr->a_desc == slap_schema.si_ad_subschemaSubentry ) { - BerVarray vals; + ber_len_t len; /* * We eat target's subschemaSubentry because @@ -476,10 +476,8 @@ ldap_build_entry( * to resolve to the appropriate backend; * later, the local subschemaSubentry is * added. - * - * FIXME: is there a better means to eat - * undesired values? */ - (void)ber_scanf( &ber, "[W]", &vals ); + */ + ber_skip_tag( &ber, &len ); ch_free(attr); continue; -- 2.39.5