Commits

Anonymous committed 941f18a

Do not show the lines' trailing spaces.
Remove closed! print.

  • Participants
  • Parent commits ced1e64

Comments (0)

Files changed (1)

 		if err == os.EOF {
 			break
 		}
-		b := line[:n]
+		b := strings.TrimRight(string(line[:n]), " ")
 		w.Printf("body", "%s\n", b)
 	}
 }
 			w.WriteEvent(ev)
 		}
 	}
-	fmt.Printf("closed!\n")
 }