diff options
author | Roger Dingledine <arma@torproject.org> | 2004-08-15 05:28:09 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-08-15 05:28:09 +0000 |
commit | 699a9d8b46efdcf70437f13d6d9096144595fa01 (patch) | |
tree | 98e5f97f07b4de8517c4f1fc177737e1027c272a /src/or/config.c | |
parent | 20b907db1ee3fee54dc7820bee92ec7113cb4224 (diff) | |
download | tor-699a9d8b46efdcf70437f13d6d9096144595fa01.tar tor-699a9d8b46efdcf70437f13d6d9096144595fa01.tar.gz |
commit some minor fixes from this sandbox so i can commit the next one
svn:r2229
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/or/config.c b/src/or/config.c index d9f9856ec..4706f7c5a 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -431,13 +431,6 @@ static int resolve_my_address(or_options_t *options) { log_fn(LOG_WARN,"Error obtaining local hostname"); return -1; } -#if 0 /* don't worry about complaining, as long as it resolves */ - if(!strchr(localhostname,'.')) { - log_fn(LOG_WARN,"fqdn '%s' has only one element. Misconfigured machine?",address); - log_fn(LOG_WARN,"Try setting the Address line in your config file."); - return -1; - } -#endif options->Address = tor_strdup(localhostname); log_fn(LOG_DEBUG,"Guessed local host name as '%s'",options->Address); } |