ITS#9801 syncrepl/dsee init punlock

This commit is contained in:
Howard Chu 2022-02-18 22:46:52 +00:00 committed by Quanah Gibson-Mount
parent 64723464ae
commit 4996d42277

View file

@ -1378,6 +1378,7 @@ do_syncrep2(
break;
}
#endif
punlock = -1;
ldap_get_entry_controls( si->si_ld, msg, &rctrls );
ldap_get_dn_ber( si->si_ld, msg, NULL, &bdn );
if (!bdn.bv_len) {
@ -1465,7 +1466,6 @@ do_syncrep2(
rc = -1;
goto done;
}
punlock = -1;
if ( ber_peek_tag( ber, &len ) == LDAP_TAG_SYNC_COOKIE ) {
if ( ber_scanf( ber, /*"{"*/ "m}", &cookie ) != LBER_ERROR ) {