forked from premiere/premiere-libtorrent
logging build fix and indentation fix
This commit is contained in:
parent
3d2bf88894
commit
9c4c49c443
|
@ -121,7 +121,7 @@ namespace libtorrent
|
|||
|
||||
boost::shared_array<char> buffer;
|
||||
int piece;
|
||||
int size;
|
||||
int size;
|
||||
};
|
||||
|
||||
struct TORRENT_EXPORT file_renamed_alert: torrent_alert
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue