mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
r16654@catbus: nickm | 2007-11-12 10:43:45 -0500
Add explanatory comment. Does not fix bug 548. svn:r12484
This commit is contained in:
parent
635cfd7465
commit
6deca312a7
@ -3783,6 +3783,10 @@ update_consensus_router_descriptor_downloads(time_t now)
|
||||
if (!(ri = router_get_by_digest(rs->identity_digest)) ||
|
||||
memcmp(ri->cache_info.signed_descriptor_digest,
|
||||
sd->signed_descriptor_digest, DIGEST_LEN)) {
|
||||
/* We have a descriptor with this digest, but either there is no
|
||||
* entry in routerlist with the same ID (!ri), or there is one,
|
||||
* but the identity digest differs (memcmp).
|
||||
*/
|
||||
smartlist_add(no_longer_old, sd);
|
||||
++n_in_oldrouters; /* We have it in old_routers. */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user