From 84027bf70b399f9a7f14561e7be2fa5033e0ea24 Mon Sep 17 00:00:00 2001 From: Jordan Orelli Date: Sun, 16 Jun 2013 23:42:32 -0400 Subject: [PATCH] werkin that tcp support --- tcp_connections.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tcp_connections.go b/tcp_connections.go index 09413be..b338d67 100644 --- a/tcp_connections.go +++ b/tcp_connections.go @@ -50,7 +50,7 @@ func tcpInterpreter(conn net.Conn, userinput chan string, out chan interface{}, case v := <-out: fmt.Fprintln(manager, v) case err := <-errors: - fmt.Fprintf(conn, "error: %v", err) + fmt.Fprintf(conn, "error: %v\n", err) case line := <-userinput: if errorMode { skipLine(line) @@ -67,7 +67,6 @@ func tcpInterpreter(conn net.Conn, userinput chan string, out chan interface{}, } if err := addLine(line); err != nil { - fmt.Fprintf(conn, "error in addLine: %v", err) errorMode = true lines = lines[:0] currentDepth = 0