Fix a log format string
This commit is contained in:
parent
7f48246119
commit
ff6f28f87c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue