mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Oops. It looks like some old GCCs dislike #if inside a macro argument.
svn:r5131
This commit is contained in:
parent
0ef18a0fba
commit
18a0a0e458
@ -2432,21 +2432,18 @@ router_list_downloadable(void)
|
|||||||
// log_fn(LOG_NOTICE, "Up-to-date status for %s", fp);
|
// log_fn(LOG_NOTICE, "Up-to-date status for %s", fp);
|
||||||
rs->should_download = 0;
|
rs->should_download = 0;
|
||||||
--n_downloadable;
|
--n_downloadable;
|
||||||
}
|
} /* else {
|
||||||
#if 0
|
|
||||||
else {
|
|
||||||
char t1[ISO_TIME_LEN+1];
|
char t1[ISO_TIME_LEN+1];
|
||||||
char t2[ISO_TIME_LEN+1];
|
char t2[ISO_TIME_LEN+1];
|
||||||
format_iso_time(t1, rs->published_on);
|
format_iso_time(t1, rs->satus.published_on);
|
||||||
format_iso_time(t2, ri->published_on);
|
format_iso_time(t2, ri->published_on);
|
||||||
log_fn(LOG_NOTICE, "Out-of-date status for %s %s (%d %d) [%s %s]", fp,
|
log_fn(LOG_NOTICE, "Out-of-date status for %s %s (%d %d) [%s %s]", fp,
|
||||||
ri->nickname,
|
ri->nickname,
|
||||||
!memcmp(ri->signed_descriptor_digest,rs->descriptor_digest,DIGEST_LEN),
|
!memcmp(ri->signed_descriptor_digest,rs->status.descriptor_digest,
|
||||||
|
DIGEST_LEN),
|
||||||
rs->published_on < ri->published_on,
|
rs->published_on < ri->published_on,
|
||||||
t1, t2);
|
t1, t2);
|
||||||
|
} */
|
||||||
}
|
|
||||||
#endif
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user