[or-cvs] Fix download by SD digest
Peter Palfrader
weasel at seul.org
Tue Oct 18 15:58:42 UTC 2005
Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv21989
Modified Files:
dirserv.c
Log Message:
Fix download by SD digest
Index: dirserv.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/dirserv.c,v
retrieving revision 1.253
retrieving revision 1.254
diff -u -d -r1.253 -r1.254
--- dirserv.c 18 Oct 2005 15:25:10 -0000 1.253
+++ dirserv.c 18 Oct 2005 15:58:40 -0000 1.254
@@ -1409,8 +1409,8 @@
smartlist_add(descs_out, ri);
} else if (!strcmpstart(key, "/tor/server/d/")) {
smartlist_t *digests = smartlist_create();
- dir_split_resource_into_fingerprints(key, digests, NULL, 1);
key += strlen("/tor/server/d/");
+ dir_split_resource_into_fingerprints(key, digests, NULL, 1);
SMARTLIST_FOREACH(digests, const char *, d,
{
routerinfo_t *ri = router_get_by_descriptor_digest(d);
More information about the tor-commits
mailing list