[or-cvs] give a useful error message to clients when the dirserver h...

Roger Dingledine arma at seul.org
Wed Mar 10 07:02:59 UTC 2004


Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or

Modified Files:
	config.c 
Log Message:
give a useful error message to clients when the dirserver hasn't
defined any recommended versions


Index: config.c
===================================================================
RCS file: /home/or/cvsroot/src/or/config.c,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -d -r1.91 -r1.92
--- config.c	4 Mar 2004 01:53:55 -0000	1.91
+++ config.c	10 Mar 2004 07:02:56 -0000	1.92
@@ -377,7 +377,7 @@
   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;



More information about the tor-commits mailing list