mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Fix cache debugging (ITS#1501) based upon patch provided by
Will Day <willday@rom.oit.gatech.edu>.
This commit is contained in:
parent
c84b2b5cfd
commit
6ca3ed1b1e
@ -387,9 +387,11 @@ ldap_check_cache( LDAP *ld, ber_tag_t msgtype, BerElement *request )
|
||||
return( -1 );
|
||||
}
|
||||
|
||||
memset( &reqber, '\0', sizeof(reqber) );
|
||||
reqber.ber_valid = LBER_VALID_BERELEMENT;
|
||||
reqber.ber_buf = reqber.ber_ptr = request->ber_buf;
|
||||
reqber.ber_end = request->ber_ptr;
|
||||
reqber.ber_debug = ber_int_debug;
|
||||
|
||||
c_time = time( NULL );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user