diff --git a/cmd/rclient/main.go b/cmd/rclient/main.go index f46cc31..fed684c 100644 --- a/cmd/rclient/main.go +++ b/cmd/rclient/main.go @@ -4,6 +4,7 @@ import ( "bufio" "encoding/gob" "fmt" + "log" "net" "os" "strconv" @@ -49,7 +50,7 @@ func main() { } point.X, point.Y = x, y - fmt.Printf("sending: %+v\n", point) + log.Printf("sending: %+v\n", point) err = enc.Encode(point) if err != nil { break