1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-21 17:46:58 -05:00

format code

This commit is contained in:
V2Ray 2015-09-09 17:39:25 +02:00
parent 19308037e5
commit f09d65b2e5
3 changed files with 92 additions and 92 deletions

View File

@ -1,6 +1,6 @@
package io package io
import( import (
"errors" "errors"
) )
@ -56,7 +56,7 @@ func (bSet *VBufferSet) FetchBuffer(minSize int) []byte {
return make([]byte, minSize) return make([]byte, minSize)
} }
select { select {
case buffer = <- byteChan: case buffer = <-byteChan:
default: default:
buffer = make([]byte, minSize) buffer = make([]byte, minSize)
} }

View File

@ -1,8 +1,8 @@
package tcp package tcp
import ( import (
"net"
"io" "io"
"net"
) )
type VFreeConnection struct { type VFreeConnection struct {