summaryrefslogtreecommitdiff
path: root/src/or/dirserv.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/dirserv.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/dirserv.c')
-rw-r--r--src/or/dirserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 00bf89ee6f..420bf08d1d 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -701,7 +701,7 @@ dirserv_add_extrainfo(extrainfo_t *ei, const char **msg)
extrainfo_free(ei);
return -1;
}
- if ((r = routerinfo_incompatible_with_extrainfo(ri, ei, msg))) {
+ if ((r = routerinfo_incompatible_with_extrainfo(ri, ei, NULL, msg))) {
extrainfo_free(ei);
return r < 0 ? 0 : -1;
}