]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Fix incorrect log call
authorMatt Joiner <anacrolix@gmail.com>
Wed, 9 Jul 2014 16:53:46 +0000 (02:53 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Wed, 9 Jul 2014 16:53:46 +0000 (02:53 +1000)
At least vet catches it...

client.go

index 1b6f89e8912dc8dd200a65b18b198204c5265faa..15955a8057a65f8a974d97eca7d5a7f47a3c868b 100644 (file)
--- a/client.go
+++ b/client.go
@@ -1047,7 +1047,7 @@ func (me *Client) downloadedChunk(t *torrent, c *connection, msg *pp.Message) er
                }
        }
        if cancelled {
-               log.Print("cancelled concurrent requests for %v", req)
+               log.Printf("cancelled concurrent requests for %v", req)
        }
 
        me.dataReady(dataSpec{t.InfoHash, req})