aboutsummaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
diff options
context:
space:
mode:
authorNeel Chauhan <neel@neelc.org>2017-09-09 17:12:37 -0400
committerNick Mathewson <nickm@torproject.org>2017-09-12 09:52:07 -0400
commit42b5e3cbb76eb4a7e0dcca8945217351c3ef1bb4 (patch)
treed6eccf8ffc2afbf98a68791dff1389c861b2e6a7 /src/or/networkstatus.c
parent4ace1b96ac2050e2d7c237af6fbf880f38be76bb (diff)
downloadtor-42b5e3cbb76eb4a7e0dcca8945217351c3ef1bb4.tar.gz
tor-42b5e3cbb76eb4a7e0dcca8945217351c3ef1bb4.zip
Remove networkstatus_nickname_is_unnamed()
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r--src/or/networkstatus.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index 76e8fe792a..014f0f1141 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -804,16 +804,6 @@ networkstatus_get_router_digest_by_nickname(const char *nickname)
return strmap_get_lc(named_server_map, nickname);
}
-/** Return true iff <b>nickname</b> is disallowed from being the nickname
- * of any server. */
-int
-networkstatus_nickname_is_unnamed(const char *nickname)
-{
- if (!unnamed_server_map)
- return 0;
- return strmap_get_lc(unnamed_server_map, nickname) != NULL;
-}
-
/** How frequently do directory authorities re-download fresh networkstatus
* documents? */
#define AUTHORITY_NS_CACHE_INTERVAL (10*60)