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

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



commit 2f063b0b0c944d4819d1fa9fe736952ab2818777
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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]



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