From: Ondřej Kuzník Date: Tue, 30 Jan 2024 14:56:11 +0000 (+0000) Subject: ITS#9823 Move to a place that is better associated with accesslog X-Git-Tag: OPENLDAP_REL_ENG_2_5_18~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4a8fce7514b733535d17b187616686a49286692;p=thirdparty%2Fopenldap.git ITS#9823 Move to a place that is better associated with accesslog --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index 5504c9743d..7f7419d702 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -3864,14 +3864,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 "