fix verbose logging build

This commit is contained in:
Arvid Norberg 2013-12-20 06:43:57 +00:00
parent d58066b32d
commit 4170b3adac
1 changed files with 1 additions and 3 deletions

View File

@ -2195,9 +2195,7 @@ namespace libtorrent
send_buffer(&dict_msg[0], dict_msg.size()); send_buffer(&dict_msg[0], dict_msg.size());
#if defined TORRENT_VERBOSE_LOGGING #if defined TORRENT_VERBOSE_LOGGING
std::stringstream handshake_str; peer_log("==> EXTENDED HANDSHAKE: %s", handshake.to_string().c_str());
handshake.print(handshake_str);
peer_log("==> EXTENDED HANDSHAKE: %s", handshake_str.str().c_str());
#endif #endif
} }
#endif #endif