From: Howard Chu Date: Fri, 26 Aug 2005 02:21:07 +0000 (+0000) Subject: Windows mod compatibility X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~570 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6a4839bd2326f17caff336d33fe8e9d7de0b9c83;p=openldap Windows mod compatibility --- diff --git a/servers/slapd/overlays/accesslog.c b/servers/slapd/overlays/accesslog.c index b9e390722c..49d61b4e00 100644 --- a/servers/slapd/overlays/accesslog.c +++ b/servers/slapd/overlays/accesslog.c @@ -421,7 +421,7 @@ log_age_unparse( int age, struct berval *agebv ) agebv->bv_len = ptr - agebv->bv_val; } -static slap_callback nullsc = { NULL, slap_null_cb, NULL, NULL }; +static slap_callback nullsc = { NULL, NULL, NULL, NULL }; #define PURGE_INCREMENT 100 @@ -1063,6 +1063,8 @@ int accesslog_init() accesslog.on_bi.bi_cf_ocs = log_cfocs; + nullsc.sc_response = slap_null_cb; + rc = config_register_schema( log_cfats, log_cfocs ); if ( rc ) return rc;