Skip to content
Snippets Groups Projects
Commit 86bc7b1f authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

Fix change in variable name between HEAD and RE24

parent e24c3367
No related merge requests found
......@@ -582,8 +582,8 @@ log_old_lookup( Operation *op, SlapReply *rs )
if ( a ) {
ber_len_t len = a->a_nvals[0].bv_len;
/* Paranoid len check, normalized CSNs are always the same length */
if ( len > LDAP_PVT_CSNSTR_BUFSIZE )
len = LDAP_PVT_CSNSTR_BUFSIZE;
if ( len > LDAP_LUTIL_CSNSTR_BUFSIZE )
len = LDAP_LUTIL_CSNSTR_BUFSIZE;
if ( memcmp( a->a_nvals[0].bv_val, pd->csn.bv_val, len ) > 0 ) {
AC_MEMCPY( pd->csn.bv_val, a->a_nvals[0].bv_val, len );
pd->csn.bv_len = len;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment