summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-10-21 00:08:35 +0000
committerNick Mathewson <nickm@torproject.org>2007-10-21 00:08:35 +0000
commit5ada3cc09ae7c5bf63acdc78940b0f5b2e5d2411 (patch)
treeab7cad7279ae577a8eb6b24688ef2afb5c6e9584 /src/or/router.c
parent9f93d48697c31585d9a8455b51f4408ddeaf7c61 (diff)
downloadtor-5ada3cc09ae7c5bf63acdc78940b0f5b2e5d2411.tar.gz
tor-5ada3cc09ae7c5bf63acdc78940b0f5b2e5d2411.zip
r15991@catbus: nickm | 2007-10-20 20:08:29 -0400
Fix a nasty bug in DownloadExtraInfo implementation where we would discard, download, discard, download ad infinitum. svn:r12069
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 550699ab23..90403106a3 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -1305,7 +1305,7 @@ router_rebuild_descriptor(int force)
router_get_router_hash(ri->cache_info.signed_descriptor_body,
ri->cache_info.signed_descriptor_digest);
- tor_assert(! routerinfo_incompatible_with_extrainfo(ri, ei, NULL));
+ tor_assert(! routerinfo_incompatible_with_extrainfo(ri, ei, NULL, NULL));
if (desc_routerinfo)
routerinfo_free(desc_routerinfo);