]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/config.c
Move the input data exhaustion loop to connection.c from daemon.c
[openldap] / servers / slapd / config.c
index 017100b532dd955ce083f0dd2c805e0ca421aabd..873f2d16c23a411e3c7dad2304142cf976bc5c2c 100644 (file)
@@ -21,7 +21,7 @@
  */
 int            defsize = SLAPD_DEFAULT_SIZELIMIT;
 int            deftime = SLAPD_DEFAULT_TIMELIMIT;
-struct acl     *global_acl = NULL;
+AccessControl  *global_acl = NULL;
 int            global_default_access = ACL_READ;
 char           *replogfile;
 int            global_lastmod;
@@ -45,8 +45,10 @@ read_config( char *fname )
        char    *line, *savefname, *saveline;
        int     cargc, savelineno;
        char    *cargv[MAXARGS];
-       int     lineno, i, rc;
-
+       int     lineno, i;
+#ifdef HAVE_TLS
+       int rc;
+#endif
        struct berval *vals[2];
        struct berval val;