1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-21 09:36:34 -05:00

build break

This commit is contained in:
V2Ray 2015-09-24 14:55:21 +02:00
parent a78dbe7133
commit 51c2a2b880
2 changed files with 1 additions and 3 deletions

View File

@ -3,8 +3,6 @@ package io
import (
"crypto/cipher"
"io"
"github.com/v2ray/v2ray-core/common/log"
)
// CryptionReader is a general purpose reader that applies a stream cipher on top of a regular reader.

View File

@ -168,7 +168,7 @@ func handleResponse(conn *net.TCPConn, request *protocol.VMessRequest, output ch
}
response := protocol.VMessResponse{}
nBytes, err := decryptResponseReader.Read(response[:])
_, err = decryptResponseReader.Read(response[:])
if err != nil {
//log.Error("VMessOut: Failed to read VMess response (%d bytes): %v", nBytes, err)
return