Commit ef6bdd6c authored by Roger Dingledine's avatar Roger Dingledine
Browse files

make datadirectory work again


svn:r2724
parent 6b22360e
......@@ -176,6 +176,7 @@ static int add_single_log_option(or_options_t *options, int minSeverity,
int maxSeverity,
const char *type, const char *fname);
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.
......@@ -1828,7 +1829,7 @@ get_data_directory(void)
static int
validate_data_directory(or_options_t *options) {
const char *d;
const char *d = options->DataDirectory;
if (!options->DataDirectory) {
#ifdef MS_WINDOWS
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment