of course there's a better way to skip a tag :)

This commit is contained in:
Pierangelo Masarati 2003-04-03 22:48:17 +00:00
parent bb4624c8b0
commit d218848b14

View file

@ -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;