From 1a22c31d08b2a8cbccb696ecc65afdfc40038570 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 30 Dec 2008 17:45:58 +0000 Subject: [PATCH] fixed typo in last check-in --- src/udp_tracker_connection.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/udp_tracker_connection.cpp b/src/udp_tracker_connection.cpp index 36b65abca..209e970f7 100644 --- a/src/udp_tracker_connection.cpp +++ b/src/udp_tracker_connection.cpp @@ -191,7 +191,8 @@ namespace libtorrent { #if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_LOGGING || defined TORRENT_ERROR_LOGGING boost::shared_ptr 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 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