diff options
author | Roger Dingledine <arma@torproject.org> | 2004-11-06 05:18:11 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-11-06 05:18:11 +0000 |
commit | 6c61ed4fb5d33a8c51ff342165a26ac70765dd26 (patch) | |
tree | 6a767b637d976bf392a275e99386798bbf094e74 /src/or/dns.c | |
parent | f490e5cdb6a60779ddadfba3dd022ba904c00b43 (diff) | |
download | tor-6c61ed4fb5d33a8c51ff342165a26ac70765dd26.tar.gz tor-6c61ed4fb5d33a8c51ff342165a26ac70765dd26.zip |
Make options no longer a global variable.
Now we can try setting an option but back out if it fails to parse, or
if it's disallowed (e.g. changing RunAsDaemon from 1 to 0).
Use parse_line_from_str rather than parse_line_from_file.
svn:r2692
Diffstat (limited to 'src/or/dns.c')
-rw-r--r-- | src/or/dns.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/or/dns.c b/src/or/dns.c index 913cb38892..f6379ac169 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -15,8 +15,6 @@ #include "or.h" #include "tree.h" -extern or_options_t options; /* command-line and config-file options */ - /** Longest hostname we're willing to resolve. */ #define MAX_ADDRESSLEN 256 |