]> git.sur5r.net Git - openldap/commitdiff
Windows mod compatibility
authorHoward Chu <hyc@openldap.org>
Fri, 26 Aug 2005 02:21:07 +0000 (02:21 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 26 Aug 2005 02:21:07 +0000 (02:21 +0000)
servers/slapd/overlays/accesslog.c

index b9e390722ce94f7a2133c1c42742711ce80d1971..49d61b4e00cd3a7c5783c3b78dbc00fc8bd7849c 100644 (file)
@@ -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;