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/routerlist.h | |
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/routerlist.h')
-rw-r--r-- | src/or/routerlist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.h b/src/or/routerlist.h index cda2d2ef5f..b69ef70f6e 100644 --- a/src/or/routerlist.h +++ b/src/or/routerlist.h @@ -65,7 +65,7 @@ int router_digest_is_trusted_dir_type(const char *digest, int router_addr_is_trusted_dir(uint32_t addr); int hexdigest_to_digest(const char *hexdigest, char *digest); const routerinfo_t *router_get_by_hexdigest(const char *hexdigest); -const routerinfo_t *router_get_by_digest(const char *digest); +const routerinfo_t *router_get_by_id_digest(const char *digest); routerinfo_t *router_get_mutable_by_digest(const char *digest); signed_descriptor_t *router_get_by_descriptor_digest(const char *digest); signed_descriptor_t *router_get_by_extrainfo_digest(const char *digest); |