logging build fix and indentation fix

This commit is contained in:
Arvid Norberg 2009-03-27 17:14:15 +00:00
parent 3d2bf88894
commit 9c4c49c443
2 changed files with 4 additions and 4 deletions

View File

@ -1696,9 +1696,9 @@ namespace libtorrent
{
#if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_ERROR_LOGGING
(*m_logger) << time_now_string()
<< " <== INVALID_PIECE [ piece: " << p.piece << " | "
"start: " << p.start << " | "
"length: " << p.length << " ]\n";
<< " <== INVALID_PIECE [ piece: " << r.piece << " | "
"start: " << r.start << " | "
"length: " << r.length << " ]\n";
#endif
disconnect("got invalid piece packet", 2);
return;