one more fmt -> log

This commit is contained in:
Stephen McQuay 2015-02-04 21:43:16 -08:00
parent 69d2c50dc5
commit e4cb3c7997

View File

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