Mark statically allocated BerElement as valid.

This commit is contained in:
Kurt Zeilenga 2000-03-14 04:25:49 +00:00
parent 117b6a91d0
commit 72c6446ef6

View File

@ -387,6 +387,7 @@ ldap_check_cache( LDAP *ld, ber_tag_t msgtype, BerElement *request )
return( -1 );
}
reqber.ber_valid = LBER_VALID_BERELEMENT
reqber.ber_buf = reqber.ber_ptr = request->ber_buf;
reqber.ber_end = request->ber_ptr;