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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user