alert message fixes

This commit is contained in:
Arvid Norberg 2010-02-18 03:49:22 +00:00
parent 69e0249317
commit 8bf9880fb0
1 changed files with 4 additions and 4 deletions

View File

@ -136,7 +136,7 @@ namespace libtorrent {
{
char ret[400];
snprintf(ret, sizeof(ret), "%s (%d) %s (%d)"
, torrent_alert::message().c_str(), status_code
, tracker_alert::message().c_str(), status_code
, msg.c_str(), times_in_row);
return ret;
}
@ -150,7 +150,7 @@ namespace libtorrent {
{
char ret[400];
snprintf(ret, sizeof(ret), "%s scrape reply: %u %u"
, torrent_alert::message().c_str(), incomplete, complete);
, tracker_alert::message().c_str(), incomplete, complete);
return ret;
}
@ -163,7 +163,7 @@ namespace libtorrent {
{
char ret[400];
snprintf(ret, sizeof(ret), "%s received peers: %u"
, torrent_alert::message().c_str(), num_peers);
, tracker_alert::message().c_str(), num_peers);
return ret;
}
@ -171,7 +171,7 @@ namespace libtorrent {
{
char ret[400];
snprintf(ret, sizeof(ret), "%s received DHT peers: %u"
, torrent_alert::message().c_str(), num_peers);
, tracker_alert::message().c_str(), num_peers);
return ret;
}