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

dcf at torproject.org dcf at torproject.org
Mon Jun 14 07:07:00 UTC 2021


commit 3e49af522f1b3216163eff9d6e4da7c2443952bd
Author: David Fifield <david at bamsoftware.com>
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.



More information about the tor-commits mailing list