Browse Source

fix codestyle

Kslr 6 years ago
parent
commit
be27720c74
1 changed files with 3 additions and 2 deletions
  1. 3 2
      common/buf/io.go

+ 3 - 2
common/buf/io.go

@@ -63,8 +63,9 @@ func NewReader(reader io.Reader) Reader {
 			if err != nil {
 			if err != nil {
 				newError("failed to get sysconn").Base(err).WriteToLog()
 				newError("failed to get sysconn").Base(err).WriteToLog()
 			} else {
 			} else {
-				/* Check if ReadVReader Can be used on this reader first
-				Fix https://github.com/v2ray/v2ray-core/issues/1666
+				/*
+					Check if ReadVReader Can be used on this reader first
+					Fix https://github.com/v2ray/v2ray-core/issues/1666
 				*/
 				*/
 				if ok, _ := checkReadVConstraint(rawConn); ok {
 				if ok, _ := checkReadVConstraint(rawConn); ok {
 					return NewReadVReader(reader, rawConn)
 					return NewReadVReader(reader, rawConn)