aboutsummaryrefslogtreecommitdiff
path: root/src/or/command.c
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2010-10-14 17:49:51 +0200
committerSebastian Hahn <sebastian@torproject.org>2010-10-14 17:49:51 +0200
commit4556f2e7c80274932019a239232235ce571c98f8 (patch)
tree28ce37b8f5646490ab73d663bf8f884ad185d3d5 /src/or/command.c
parent376939c9acfe64b1722ef184fda0ef0235e14a7d (diff)
downloadtor-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/command.c')
-rw-r--r--src/or/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/command.c b/src/or/command.c
index 3a5c6c01a2..60c9184b57 100644
--- a/src/or/command.c
+++ b/src/or/command.c
@@ -622,7 +622,7 @@ command_process_netinfo_cell(cell_t *cell, or_connection_t *conn)
/** Warn when we get a netinfo skew with at least this value. */
#define NETINFO_NOTICE_SKEW 3600
if (labs(apparent_skew) > NETINFO_NOTICE_SKEW &&
- router_get_by_digest(conn->identity_digest)) {
+ router_get_by_id_digest(conn->identity_digest)) {
char dbuf[64];
int severity;
/*XXXX be smarter about when everybody says we are skewed. */