diff --git a/src/alert.cpp b/src/alert.cpp index 13a95d2af..a6c8997cc 100644 --- a/src/alert.cpp +++ b/src/alert.cpp @@ -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; }