1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-11-13 23:24:27 -05:00

cleanup MultiBuffer

This commit is contained in:
Darien Raymond
2017-11-09 00:55:28 +01:00
parent 3d2fd372e1
commit 66b82e4ab7
14 changed files with 26 additions and 24 deletions

View File

@@ -157,7 +157,7 @@ func (r *AuthenticationReader) Read() (buf.MultiBuffer, error) {
return nil, err
}
mb := buf.NewMultiBuffer()
var mb buf.MultiBuffer
if r.transferType == protocol.TransferTypeStream {
mb.Write(b)
} else {