[tor-commits] [tor/master] Set torrc_fname in load_torrc_from_disk
nickm at torproject.org
nickm at torproject.org
Wed Nov 30 01:26:07 UTC 2011
commit 4150d92eea48ddf44c001b0c87833b0101051d3e
Author: Robert Ransom <rransom.8774 at gmail.com>
Date: Tue Nov 29 17:11:49 2011 -0800
Set torrc_fname in load_torrc_from_disk
Bugfix on commit 230422b955e1708f27f42cdd25e8b21a33fdd3dd, not yet in any
release. Fixes bug #4604; reported by koolfy.
---
src/or/config.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/or/config.c b/src/or/config.c
index f0686da..e92b01d 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -4385,7 +4385,7 @@ load_torrc_from_disk(int argc, char **argv, int defaults_file)
char *cf = NULL;
int using_default_torrc = 1;
int ignore_missing_torrc = 0;
- char **fname_var = defaults_file ? &torrc_fname : &torrc_defaults_fname;
+ char **fname_var = defaults_file ? &torrc_defaults_fname : &torrc_fname;
fname = find_torrc_filename(argc, argv, defaults_file,
&using_default_torrc, &ignore_missing_torrc);
More information about the tor-commits
mailing list