*** empty log message ***

This commit is contained in:
Arvid Norberg
2004-03-01 01:03:16 +00:00
parent 5d65eab1bd
commit 35ce00afa7

View File

@@ -1388,7 +1388,9 @@ namespace libtorrent
const char cmd[] = "version";
if (m_recv_buffer.size() == 7 && std::equal(m_recv_buffer.begin(), m_recv_buffer.end(), cmd))
{
(*m_logger << "sending libtorrent version\n");
#ifndef NDEBUG
(*m_logger) << "sending libtorrent version\n";
#endif
int ret = m_socket->send("libtorrent version 0.1.0.0\n");
throw protocol_error("closing");
}