[tor-commits] [trunnel/master] Fix a (harmless) typo.

nickm at torproject.org nickm at torproject.org
Fri Dec 30 03:48:51 UTC 2016


commit 2f063b0b0c944d4819d1fa9fe736952ab2818777
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Dec 29 17:51:25 2016 -0500

    Fix a (harmless) typo.
---
 lib/trunnel/CodeGen.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/trunnel/CodeGen.py b/lib/trunnel/CodeGen.py
index 032856e..ba33287 100644
--- a/lib/trunnel/CodeGen.py
+++ b/lib/trunnel/CodeGen.py
@@ -467,7 +467,7 @@ class Checker(ASTVisitor):
             raise CheckError("Non-integer %s field %s for %s" % (
                 ftype, fieldname, inside))
 
-        note = {'tag': 'TL', 'array length': 'TL',
+        note = {'tag': 'TL', 'array length': 'AL',
                 'union length': 'CL'}[ftype]
         try:
             curUsage = self.structIntFieldUsage[fieldname]





More information about the tor-commits mailing list