mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
r15964@catbus: nickm | 2007-10-19 12:43:49 -0400
Sort out that need_to_mirror is for routerstatuses in v2 networkstatuses only. svn:r12050
This commit is contained in:
@@ -896,7 +896,6 @@ networkstatus_copy_old_consensus_info(networkstatus_vote_t *new_c,
|
||||
if (!memcmp(rs_old->descriptor_digest, rs_new->descriptor_digest,
|
||||
DIGEST_LEN)) {
|
||||
/* And the same descriptor too! */
|
||||
rs_new->need_to_mirror = rs_old->need_to_mirror; /*XXXX020 NM ????? */
|
||||
memcpy(&rs_new->dl_status, &rs_old->dl_status,sizeof(download_status_t));
|
||||
}
|
||||
});
|
||||
|
||||
+1
-1
@@ -1250,7 +1250,7 @@ typedef struct routerstatus_t {
|
||||
/** True if we, as a directory mirror, want to download the corresponding
|
||||
* routerinfo from the authority who gave us this routerstatus. (That is,
|
||||
* if we don't have the routerinfo, and if we haven't already tried to get it
|
||||
* from this authority.)
|
||||
* from this authority.) Applies in v2 networkstatus document only.
|
||||
*/
|
||||
unsigned int need_to_mirror:1;
|
||||
unsigned int name_lookup_warned:1; /**< Have we warned the user for referring
|
||||
|
||||
Reference in New Issue
Block a user