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

format code

This commit is contained in:
v2ray 2016-02-03 12:18:52 +01:00
parent 2932d23b32
commit edd02f7d3c
3 changed files with 3 additions and 3 deletions

View File

@ -128,7 +128,7 @@ func newBufferPool(bufferSize, poolSize int) *bufferPool {
New: func() interface{} { return make([]byte, bufferSize) },
},
}
for i := 0; i < poolSize / 2; i++ {
for i := 0; i < poolSize/2; i++ {
pool.chain <- make([]byte, bufferSize)
}
return pool