fixed typo

This commit is contained in:
Arvid Norberg 2010-02-23 06:38:05 +00:00
parent 210c663596
commit 5c5f1d23a9
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ namespace libtorrent
char str[1024];
const bool stats = tracker_req().send_stats;
snprintf(str, sizeof(str), "&peer_id=%s&port=%d&uploaded=%"PRId64
"&downloaded=%"PRId64"&left=%"PRId64"&corrupt="PRId64"&compact=1"
"&downloaded=%"PRId64"&left=%"PRId64"&corrupt=%"PRId64"&compact=1"
"&numwant=%d&key=%x&no_peer_id=1"
, escape_string((const char*)&tracker_req().pid[0], 20).c_str()
// the i2p tracker seems to verify that the port is not 0,