make datadirectory work again

svn:r2724
This commit is contained in:
Roger Dingledine 2004-11-09 05:35:49 +00:00
parent 6b22360eb8
commit ef6bdd6c1e

View File

@ -176,6 +176,7 @@ static int add_single_log_option(or_options_t *options, int minSeverity,
int maxSeverity, int maxSeverity,
const char *type, const char *fname); const char *type, const char *fname);
static int normalize_log_options(or_options_t *options); static int normalize_log_options(or_options_t *options);
static int validate_data_directory(or_options_t *options);
/* /*
* Functions to read and write the global options pointer. * Functions to read and write the global options pointer.
@ -1828,7 +1829,7 @@ get_data_directory(void)
static int static int
validate_data_directory(or_options_t *options) { validate_data_directory(or_options_t *options) {
const char *d; const char *d = options->DataDirectory;
if (!options->DataDirectory) { if (!options->DataDirectory) {
#ifdef MS_WINDOWS #ifdef MS_WINDOWS