tiny refactor

This commit is contained in:
Matthias Radestock committed 2014-09-16 23:13:08 +01:00
1 parent b49c3d5951
commit b07cf729b2
1 file changed
+1 -1
+1 -1
View File
@@ -139,7 +139,7 @@ func (ne *NonEncryptor) AppendFrame(frame *ForwardedFrame) {
bufTail = bufTail[2:]
copy(bufTail, frame.frame)
ne.bufTail = bufTail[frameLen:]
ne.buffered = ne.buffered + srcLen + dstLen + 2 + frameLen
ne.buffered += srcLen + dstLen + 2 + frameLen
}
func (ne *NonEncryptor) TotalLen() int {