From: Roger Dingledine Date: Wed, 10 Mar 2004 07:02:56 +0000 (+0000) Subject: give a useful error message to clients when the dirserver hasn't X-Git-Tag: debian-version-0.0.1+0.0.2pre25-1~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3ba392e69f3219bdccf8139ed0c5b4c8d7ec98b8;p=thirdparty%2Ftor.git give a useful error message to clients when the dirserver hasn't defined any recommended versions svn:r1252 --- diff --git a/src/or/config.c b/src/or/config.c index bf29576d12..95668ec1ce 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -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;