Fix formatting directives

This commit is contained in:
Matt Joiner 2020-04-06 14:14:13 +10:00
parent fe2fb69ed8
commit ae4e5270c2
1 changed files with 2 additions and 2 deletions

View File

@ -148,7 +148,7 @@ func (c *Client) trackerReadLoop() {
for {
_, message, err := tracker.ReadMessage()
if err != nil {
log.Fatal("read error: %v", err)
log.Fatalf("read error: %v", err)
}
log.Printf("recv: %s", message)
@ -201,7 +201,7 @@ func (c *Client) trackerReadLoop() {
}
err = peer.transport.SetAnswer(*ar.Answer, c.handleDataChannel)
if err != nil {
log.Fatal("failed to sent answer: %v", err)
log.Fatalf("failed to sent answer: %v", err)
}
}
}