Merge branch 'master' of github.com:alexbers/mtprotoproxy

This commit is contained in:
Alexander Bersenev
2018-06-17 03:27:29 +05:00

View File

@@ -322,7 +322,7 @@ class MTProtoCompactFrameStreamWriter(LayeredStreamWriterBase):
LARGE_PKT_BORGER = 256 ** 3
if len(data) % 4 != 0:
print_err("BUG: MTProtoFrameStreamWriter attempted to send msg with len %d" % len(msg))
print_err("BUG: MTProtoFrameStreamWriter attempted to send msg with len %d" % len(data))
return 0
len_div_four = len(data) // 4