From 6a4839bd2326f17caff336d33fe8e9d7de0b9c83 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 26 Aug 2005 02:21:07 +0000 Subject: [PATCH] Windows mod compatibility --- servers/slapd/overlays/accesslog.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.39.5