From a1f172fef57f2fbee649af8aed4cb212c60ab64b Mon Sep 17 00:00:00 2001 From: Andrew Pillar Date: Sun, 15 Sep 2019 23:29:02 +0100 Subject: [PATCH] Clean up --- main.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/main.go b/main.go index dd6b2a3..4f81e9a 100644 --- a/main.go +++ b/main.go @@ -194,9 +194,7 @@ func main() { return } - s := fmt.Sprintf("Host: %s\n", h.addr) - - out <- append([]byte(s), b...) + out <- append([]byte("Host: " + h.addr + "\n"), b...) }(h, cmd) }