more consistent parsing checks

This commit is contained in:
Pierangelo Masarati 2007-08-17 09:53:47 +00:00
parent ce6b685caf
commit 995359548b

View File

@ -948,7 +948,7 @@ slap_parse_refresh(
tag = ber_peek_tag( ber, &len ); tag = ber_peek_tag( ber, &len );
if ( len != 0 ) { if ( tag != LBER_DEFAULT || len != 0 ) {
decoding_error:; decoding_error:;
Log1( LDAP_DEBUG_TRACE, LDAP_LEVEL_ERR, Log1( LDAP_DEBUG_TRACE, LDAP_LEVEL_ERR,
"slap_parse_refresh: decoding error, len=%ld\n", "slap_parse_refresh: decoding error, len=%ld\n",