From efc969e86214fc53d3387c646ef0eab80ce15981 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 3 Aug 2020 08:55:17 -0400 Subject: Rename protover_contains_long_protocol_names to protover_list_is_invalid This is an automated commit, generated by this command: ./scripts/maint/rename_c_identifier.py \ protover_contains_long_protocol_names protover_list_is_invalid --- src/feature/dirauth/dirvote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/feature/dirauth') diff --git a/src/feature/dirauth/dirvote.c b/src/feature/dirauth/dirvote.c index 080edd92f1..8676df76ab 100644 --- a/src/feature/dirauth/dirvote.c +++ b/src/feature/dirauth/dirvote.c @@ -4567,7 +4567,7 @@ dirserv_generate_networkstatus_vote_obj(crypto_pk_t *private_key, /* If it has a protover list and contains a protocol name greater than * MAX_PROTOCOL_NAME_LENGTH, skip it. */ if (ri->protocol_list && - protover_contains_long_protocol_names(ri->protocol_list)) { + protover_list_is_invalid(ri->protocol_list)) { continue; } if (ri->cache_info.published_on >= cutoff) { -- cgit v1.2.3-54-g00ecf