Stop printing newlines between lines (patch by jmjl)
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja> git-svn-id: https://svn.yakumo.dev/yakumo.izuru/tokiko/trunk@22 8f5ca974-a7f8-e144-9f80-d41d5039c194
This commit is contained in:
parent
0d453ec0b3
commit
8e1a6851ba
@ -80,7 +80,7 @@ func printGophermap(c net.Conn, dir string) {
|
||||
|
||||
scanner := bufio.NewScanner(file)
|
||||
for scanner.Scan() {
|
||||
c.Write([]byte(formatLine(scanner.Text()) + "\n"))
|
||||
c.Write([]byte(formatLine(scanner.Text()) /*+ "\n"*/))
|
||||
}
|
||||
|
||||
c.Write([]byte(".\r\n"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user