summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-11-22 02:20:05 +0000
committerNick Mathewson <nickm@torproject.org>2005-11-22 02:20:05 +0000
commit50ce5e193210e494e92b555d5d3d4a9849650b3e (patch)
tree42719fbc5ac99e4f70edda25e426d577296616a6
parent8182eb69cd8ffa5dc2bdba7a52c6366193dba8e2 (diff)
downloadtor-50ce5e193210e494e92b555d5d3d4a9849650b3e.tar.gz
tor-50ce5e193210e494e92b555d5d3d4a9849650b3e.zip
Avoid spurious re-launch of first pending requested descriptor
svn:r5439
-rw-r--r--src/or/routerlist.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index fece42dd4f..393471cc9a 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -2946,8 +2946,9 @@ router_list_downloadable(void)
!conn->marked_for_close) {
if (!strcmpstart(conn->requested_resource, "all"))
n_downloadable = 0;
- dir_split_resource_into_fingerprints(conn->requested_resource,
- downloading, NULL, 1);
+ if (!strcmpstart(conn->requested_resource, "fp/"))
+ dir_split_resource_into_fingerprints(conn->requested_resource+3,
+ downloading, NULL, 1);
}
}