diff --git a/connection.go b/connection.go index 60cadb20..34737d6b 100644 --- a/connection.go +++ b/connection.go @@ -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