diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2010-10-14 17:49:51 +0200 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2010-10-14 17:49:51 +0200 |
commit | 4556f2e7c80274932019a239232235ce571c98f8 (patch) | |
tree | 28ce37b8f5646490ab73d663bf8f884ad185d3d5 /src/or/rephist.c | |
parent | 376939c9acfe64b1722ef184fda0ef0235e14a7d (diff) | |
download | tor-4556f2e7c80274932019a239232235ce571c98f8.tar.gz tor-4556f2e7c80274932019a239232235ce571c98f8.zip |
Rename router_get_by_digest()
We now call the function router_get_by_id_digest() to make clear that
we're talking about the identity digest here, not descriptor digest.
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r-- | src/or/rephist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c index 1b978d963d..6ce4322bbf 100644 --- a/src/or/rephist.c +++ b/src/or/rephist.c @@ -757,7 +757,7 @@ rep_hist_record_mtbf_data(time_t now, int missing_means_down) base16_encode(dbuf, sizeof(dbuf), digest, DIGEST_LEN); if (missing_means_down && hist->start_of_run && - !router_get_by_digest(digest)) { + !router_get_by_id_digest(digest)) { /* We think this relay is running, but it's not listed in our * routerlist. Somehow it fell out without telling us it went * down. Complain and also correct it. */ |