commit ce57404a429b2505f5832954d8a66935a592461a parent efc969e86214fc53d3387c646ef0eab80ce15981 Author: Nick Mathewson <nickm@torproject.org> Date: Mon, 3 Aug 2020 08:57:12 -0400 Fix comment on protover_list_is_invalid Diffstat:
| M | src/core/or/protover.c | | | 5 | +++-- |
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/core/or/protover.c b/src/core/or/protover.c @@ -299,8 +299,9 @@ parse_protocol_list(const char *s) } /** - * Return true if the unparsed protover in <b>s</b> would contain a protocol - * name longer than MAX_PROTOCOL_NAME_LENGTH, and false otherwise. + * Return true if the unparsed protover list in <b>s</b> contains a + * parsing error, such as extra commas, a bad number, or an over-long + * name. */ bool protover_list_is_invalid(const char *s)