From 8bf9880fb0df05f356b7883aa6b8f936870a1b01 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Thu, 18 Feb 2010 03:49:22 +0000 Subject: [PATCH] alert message fixes --- src/alert.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; }