diff options
author | Roger Dingledine <arma@torproject.org> | 2004-11-09 05:35:49 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-11-09 05:35:49 +0000 |
commit | ef6bdd6c1e5e890fd34fcc6e37b1a3a2b313fa8b (patch) | |
tree | f906bbec48e0280772867b4a1fac71a7d86b54b2 /src | |
parent | 6b22360eb8fed4eb4a37109a1c79d231bce7abb0 (diff) | |
download | tor-ef6bdd6c1e5e890fd34fcc6e37b1a3a2b313fa8b.tar.gz tor-ef6bdd6c1e5e890fd34fcc6e37b1a3a2b313fa8b.zip |
make datadirectory work again
svn:r2724
Diffstat (limited to 'src')
-rw-r--r-- | src/or/config.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c index fe3dfc434b..e22de6f553 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -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 |