[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Fix comment on protover_list_is_invalid



commit ce57404a429b2505f5832954d8a66935a592461a
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Mon Aug 3 08:57:12 2020 -0400

    Fix comment on protover_list_is_invalid
---
 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
index 485f7b3736..26fcefe8ac 100644
--- 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)

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits