From 51c2a2b88011e77fd788c9ef28404905a178b486 Mon Sep 17 00:00:00 2001 From: V2Ray Date: Thu, 24 Sep 2015 14:55:21 +0200 Subject: [PATCH] build break --- common/io/encryption.go | 2 -- proxy/vmess/vmessout.go | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/common/io/encryption.go b/common/io/encryption.go index eb054ff3..bc59ac6c 100644 --- a/common/io/encryption.go +++ b/common/io/encryption.go @@ -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. diff --git a/proxy/vmess/vmessout.go b/proxy/vmess/vmessout.go index e2f4bf46..d72f53d4 100644 --- a/proxy/vmess/vmessout.go +++ b/proxy/vmess/vmessout.go @@ -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