]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/init.c
Add a safety check to bvcasechr
[openldap] / servers / slapd / init.c
index e6a4187d5f4dea2d1bd5575fec39d09445eebcb0..983dae921496162d9a44078dec9563c808cb04f5 100644 (file)
@@ -1,7 +1,7 @@
 /* init.c - initialize various things */
 /* $OpenLDAP$ */
 /*
- * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */
 
@@ -31,7 +31,7 @@ int           ldap_syslog;
 int            ldap_syslog_level = LOG_DEBUG;
 #endif
 
-struct berval **default_referral = NULL;
+BerVarray default_referral = NULL;
 
 /*
  * global variables that need mutex protection