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