summaryrefslogtreecommitdiff
path: root/src/common/ht.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-12-14 22:00:58 +0000
committerNick Mathewson <nickm@torproject.org>2005-12-14 22:00:58 +0000
commit9482b1b9d5aa892aad997799be7dadbc94856371 (patch)
tree7500447df1338485d9c983f5120c69de3849393e /src/common/ht.h
parent7e6a41af93c15173f0e3fbd83a6bd95865c3a289 (diff)
downloadtor-9482b1b9d5aa892aad997799be7dadbc94856371.tar.gz
tor-9482b1b9d5aa892aad997799be7dadbc94856371.zip
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.
svn:r5586
Diffstat (limited to 'src/common/ht.h')
-rw-r--r--src/common/ht.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/ht.h b/src/common/ht.h
index e50ada29c5..d2be68322c 100644
--- a/src/common/ht.h
+++ b/src/common/ht.h
@@ -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; \