]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/overlays/collect.c
trim listed modules
[openldap] / servers / slapd / overlays / collect.c
index 32e474118d8b540573d53b7cc17ef6dd55364aad..5fd2cb8325cd47b0148a52db5706594fc2147053 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2003-2004 The OpenLDAP Foundation.
+ * Copyright 2003-2007 The OpenLDAP Foundation.
  * Portions Copyright 2003 Howard Chu.
  * All rights reserved.
  *
@@ -153,7 +153,7 @@ static int collect_config(
 
 static slap_overinst collect;
 
-int collect_init() {
+int collect_initialize() {
        collect.on_bi.bi_type = "collect";
        collect.on_bi.bi_db_config = collect_config;
        collect.on_response = collect_response;
@@ -163,7 +163,7 @@ int collect_init() {
 
 #if SLAPD_OVER_COLLECT == SLAPD_MOD_DYNAMIC
 int init_module(int argc, char *argv[]) {
-       return collect_init();
+       return collect_initialize();
 }
 #endif