correct delimiter append

This commit is contained in:
Joseph Lawson
2014-03-28 23:40:28 -04:00
parent 7a657e273e
commit c8e39b8f47
+1 -1
View File
@@ -49,7 +49,7 @@ func (o *TCPOutput) worker() {
func (o *TCPOutput) Write(data []byte) (n int, err error) {
new_buf := make([]byte, len(data) + 2)
append(data, []byte("¶"))
append(data, []byte("¶")...)
copy(new_buf, data)
o.buf <- new_buf