remove use of Buffer.Value

This commit is contained in:
Darien Raymond committed 2016-12-05 21:33:24 +01:00
1 parent 186bf1f141
commit 4bf8288cc2
10 files changed
+21 -22

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ func (v *OutboundConnectionHandler) Dispatch(destination v2net.Destination, payl
v.Destination = destination
if !payload.IsEmpty() {
v.ConnOutput.Write(payload.Value)
v.ConnOutput.Write(payload.Bytes())
}
payload.Release()