Fix a log format string

This commit is contained in:
Matt Joiner 2018-01-07 19:24:00 +11:00
parent 7f48246119
commit ff6f28f87c
1 changed files with 1 additions and 1 deletions

View File

@ -1077,7 +1077,7 @@ func (c *connection) receiveChunk(msg *pp.Message) {
piece.decrementPendingWrites()
if err != nil {
log.Printf("%s (%x): error writing chunk %v: %s", t, t.infoHash, req, err)
log.Printf("%s (%s): error writing chunk %v: %s", t, t.infoHash, req, err)
t.pendRequest(req)
t.updatePieceCompletion(int(msg.Index))
return