ITS#9823 Move to a place that is better associated with accesslog

This commit is contained in:
Ondřej Kuzník 2024-01-30 14:56:11 +00:00 committed by Quanah Gibson-Mount
parent 6cef0c560d
commit 7ade966cf3

View file

@ -3882,14 +3882,14 @@ sp_cf_gen(ConfigArgs *c)
break;
case SP_NOPRES:
si->si_nopres = c->value_int;
break;
case SP_USEHINT:
si->si_usehint = c->value_int;
if ( si->si_usehint ) {
if ( si->si_nopres ) {
/* Consider we might be a delta provider, but it's ok if not */
(void)syncprov_setup_accesslog();
}
break;
case SP_USEHINT:
si->si_usehint = c->value_int;
break;
case SP_LOGDB:
if ( si->si_logs ) {
Debug( LDAP_DEBUG_ANY, "syncprov_config: while configuring "