]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/init.c
Add a safety check to bvcasechr
[openldap] / servers / slapd / init.c
index eabb73b13b0394f33f547d22a3ba568aea6034c3..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,9 +31,7 @@ int           ldap_syslog;
 int            ldap_syslog_level = LOG_DEBUG;
 #endif
 
-struct berval **default_referral = NULL;
-int            g_argc;
-char           **g_argv;
+BerVarray default_referral = NULL;
 
 /*
  * global variables that need mutex protection