diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-08-03 08:57:12 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-08-03 08:57:21 -0400 |
commit | ce57404a429b2505f5832954d8a66935a592461a (patch) | |
tree | 9c555849c0bf83340a34f1411b0fa102edc5f5af /src | |
parent | efc969e86214fc53d3387c646ef0eab80ce15981 (diff) | |
download | tor-ce57404a429b2505f5832954d8a66935a592461a.tar.gz tor-ce57404a429b2505f5832954d8a66935a592461a.zip |
Fix comment on protover_list_is_invalid
Diffstat (limited to 'src')
-rw-r--r-- | src/core/or/protover.c | 5 |
1 files 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) |