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

[tor-commits] [meek/turbotunnel-kcp] Comment typo.



commit 3e49af522f1b3216163eff9d6e4da7c2443952bd
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Mon Jun 14 01:06:53 2021 -0600

    Comment typo.
---
 common/encapsulation/encapsulation.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/encapsulation/encapsulation.go b/common/encapsulation/encapsulation.go
index bfe9b5b..64a58d8 100644
--- a/common/encapsulation/encapsulation.go
+++ b/common/encapsulation/encapsulation.go
@@ -176,7 +176,7 @@ func WritePadding(w io.Writer, n int) (int, error) {
 	return total, nil
 }
 
-// MaxDataForSize returns the length of the longest slice that can pe passed to
+// MaxDataForSize returns the length of the longest slice that can be passed to
 // WriteData, whose total encoded size (including length prefix) is no larger
 // than n. Call this to find out if a chunk of data will fit into a length
 // budget. Panics if n == 0.

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