1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-07-26 11:44:22 -04:00

return correct error

This commit is contained in:
Darien Raymond 2018-12-27 19:59:49 +01:00
parent d670629651
commit c72d853454
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -204,7 +204,7 @@ func WriteMultiBuffer(writer io.Writer, mb MultiBuffer) (MultiBuffer, error) {
_, err := writer.Write(b.Bytes())
b.Release()
if err != nil {
return mb, nil
return mb, err
}
}