]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
give a useful error message to clients when the dirserver hasn't
authorRoger Dingledine <arma@torproject.org>
Wed, 10 Mar 2004 07:02:56 +0000 (07:02 +0000)
committerRoger Dingledine <arma@torproject.org>
Wed, 10 Mar 2004 07:02:56 +0000 (07:02 +0000)
defined any recommended versions

svn:r1252

src/or/config.c

index bf29576d124c4d5017cb40d06c34304416fd7d30..95668ec1ce22a07e13ed7a57b775c162b6b8f0a0 100644 (file)
@@ -377,7 +377,7 @@ static void init_options(or_options_t *options) {
   options->SocksBindAddress = tor_strdup("127.0.0.1");
   options->ORBindAddress = tor_strdup("0.0.0.0");
   options->DirBindAddress = tor_strdup("0.0.0.0");
-  options->RecommendedVersions = tor_strdup("none");
+  options->RecommendedVersions = tor_strdup("[no recommended versions defined -- the dirserver must define this]");
   options->loglevel = LOG_INFO;
   options->PidFile = NULL; // tor_strdup("tor.pid");
   options->DataDirectory = NULL;