[or-cvs] make datadirectory work again
Roger Dingledine
arma at seul.org
Tue Nov 9 05:35:51 UTC 2004
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or
Modified Files:
config.c
Log Message:
make datadirectory work again
Index: config.c
===================================================================
RCS file: /home/or/cvsroot/src/or/config.c,v
retrieving revision 1.221
retrieving revision 1.222
diff -u -d -r1.221 -r1.222
--- config.c 9 Nov 2004 05:26:49 -0000 1.221
+++ config.c 9 Nov 2004 05:35:49 -0000 1.222
@@ -176,6 +176,7 @@
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 @@
static int
validate_data_directory(or_options_t *options) {
- const char *d;
+ const char *d = options->DataDirectory;
if (!options->DataDirectory) {
#ifdef MS_WINDOWS
More information about the tor-commits
mailing list