[tor-commits] [tor/master] Add an extra comment about keeping rust and c protover in sync.

nickm at torproject.org nickm at torproject.org
Fri Jul 10 17:32:34 UTC 2020


commit 8ebbf629404a97b6110c1916d554009dc8f42c5a
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri Jul 10 13:32:25 2020 -0400

    Add an extra comment about keeping rust and c protover in sync.
---
 src/core/or/protover.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/core/or/protover.c b/src/core/or/protover.c
index c6b024369..1ac264925 100644
--- a/src/core/or/protover.c
+++ b/src/core/or/protover.c
@@ -393,6 +393,11 @@ protocol_list_supports_protocol_or_later(const char *list,
 const char *
 protover_get_supported_protocols(void)
 {
+  /* WARNING!
+   *
+   * Remember to edit the SUPPORTED_PROTOCOLS list in protover.rs if you
+   * are editing this list.
+   */
   return
     "Cons=1-2 "
     "Desc=1-2 "



More information about the tor-commits mailing list