one more fmt -> log
This commit is contained in:
parent
69d2c50dc5
commit
e4cb3c7997
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user