fixed typo in last check-in

This commit is contained in:
Arvid Norberg 2008-12-30 17:45:58 +00:00
parent b873ffeb01
commit 1a22c31d08
1 changed files with 4 additions and 2 deletions

View File

@ -191,7 +191,8 @@ namespace libtorrent
{
#if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_LOGGING || defined TORRENT_ERROR_LOGGING
boost::shared_ptr<request_callback> cb = requester();
std::stringstream msg << "*** UDP_TRACKER [ timed out url: " << tracker_req().url << " ]";
std::stringstream msg;
msg << "*** UDP_TRACKER [ timed out url: " << tracker_req().url << " ]";
if (cb) cb->debug_log(msg.str().c_str());
#endif
m_socket.close();
@ -393,7 +394,8 @@ namespace libtorrent
if (cb)
{
boost::shared_ptr<request_callback> cb = requester();
std::stringstream msg << "<== UDP_ANNOUNCE_RESPONSE [ url: " << tracker_req().url << " ]";
std::stringstream msg;
msg << "<== UDP_ANNOUNCE_RESPONSE [ url: " << tracker_req().url << " ]";
cb->debug_log(msg.str().c_str());
}
#endif