[or-cvs] Choose directory servers from routerstatus list, not from r...

Nick Mathewson nickm at seul.org
Wed Dec 14 22:01:00 UTC 2005


Update of /home/or/cvsroot/tor/src/common
In directory moria:/tmp/cvs-serv16688/src/common

Modified Files:
	ht.h 
Log Message:
Choose directory servers from routerstatus list, not from routerinfo list.  This way, as soon was we have a networkstatus, we can ask a cache to give us routers, rather than needing to ask the directories.

Index: ht.h
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/ht.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- ht.h	14 Dec 2005 21:10:06 -0000	1.4
+++ ht.h	14 Dec 2005 22:00:58 -0000	1.5
@@ -24,7 +24,7 @@
   }
 
 #define HT_INITIALIZER()                        \
-  { 0, NULL, 0, 0, -1 }
+  { NULL, 0, 0, 0, -1 }
 
 #define HT_INIT(root) do {                      \
     (root)->hth_table_length = 0;               \



More information about the tor-commits mailing list