-/* $Id: cache_cf.cc,v 1.45 1996/04/16 05:13:33 wessels Exp $ */
+/* $Id: cache_cf.cc,v 1.46 1996/04/16 05:48:57 wessels Exp $ */
/* DEBUG: Section 3 cache_cf: Configuration file parsing */
time_t neighbor_timeout = DefaultNeighborTimeout; /* for fast access */
int single_parent_bypass = 0;
int DnsPositiveTtl = DefaultPositiveDnsTtl;
-char *cfg_filename = NULL;
+char *config_file = DEFAULT_CONFIG_FILE;
+char *cfg_filename = NULL; /* just the last part */
char w_space[] = " \t\n";
char config_input_line[BUFSIZ];
-/* $Id: main.cc,v 1.35 1996/04/16 05:05:25 wessels Exp $ */
+/* $Id: main.cc,v 1.36 1996/04/16 05:48:58 wessels Exp $ */
/* DEBUG: Section 1 main: startup and main loop */
int opt_unlink_on_reload = 0;
int catch_signals = 1;
int do_dns_test = 1;
-char *config_file = NULL;
int vhost_mode = 0;
int unbuffered_logs = 1; /* debug and hierarhcy unbuffered by default */
int shutdown_pending = 0; /* set by SIGTERM handler (shut_down()) */
fd_note(1, "STDOUT");
fd_note(2, "STDERR");
- if (config_file == NULL)
- config_file = xstrdup(DEFAULT_CONFIG_FILE);
-
/* enable syslog by default */
syslog_enable = 0;