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;
|
boost::shared_array<char> buffer;
|
||||||
int piece;
|
int piece;
|
||||||
int size;
|
int size;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct TORRENT_EXPORT file_renamed_alert: torrent_alert
|
struct TORRENT_EXPORT file_renamed_alert: torrent_alert
|
||||||
|
|
|
@ -1696,9 +1696,9 @@ namespace libtorrent
|
||||||
{
|
{
|
||||||
#if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_ERROR_LOGGING
|
#if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_ERROR_LOGGING
|
||||||
(*m_logger) << time_now_string()
|
(*m_logger) << time_now_string()
|
||||||
<< " <== INVALID_PIECE [ piece: " << p.piece << " | "
|
<< " <== INVALID_PIECE [ piece: " << r.piece << " | "
|
||||||
"start: " << p.start << " | "
|
"start: " << r.start << " | "
|
||||||
"length: " << p.length << " ]\n";
|
"length: " << r.length << " ]\n";
|
||||||
#endif
|
#endif
|
||||||
disconnect("got invalid piece packet", 2);
|
disconnect("got invalid piece packet", 2);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue