forked from premiere/premiere-libtorrent
fix build
This commit is contained in:
parent
d140d71e1a
commit
223154b1f1
|
@ -313,8 +313,8 @@ namespace libtorrent
|
||||||
if (size < 8)
|
if (size < 8)
|
||||||
{
|
{
|
||||||
#if defined TORRENT_LOGGING
|
#if defined TORRENT_LOGGING
|
||||||
m_ses.debug_log("incoming packet from %s, not a UDP tracker message "
|
m_ses.session_log("incoming packet from %s, not a UDP tracker message "
|
||||||
"(%d Bytes)", print_endpoint(*from).c_str(), size);
|
"(%d Bytes)", print_endpoint(ep).c_str(), size);
|
||||||
#endif
|
#endif
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -326,8 +326,8 @@ namespace libtorrent
|
||||||
if (i == m_udp_conns.end())
|
if (i == m_udp_conns.end())
|
||||||
{
|
{
|
||||||
#if defined TORRENT_LOGGING
|
#if defined TORRENT_LOGGING
|
||||||
m_ses.debug_log("incoming UDP tracker packet from %s has invalid "
|
m_ses.session_log("incoming UDP tracker packet from %s has invalid "
|
||||||
"transaction ID (%" PRIu32 ")", print_endpoint(*from).c_str()
|
"transaction ID (%" PRIu32 ")", print_endpoint(ep).c_str()
|
||||||
, transaction);
|
, transaction);
|
||||||
#endif
|
#endif
|
||||||
return false;
|
return false;
|
||||||
|
@ -345,7 +345,7 @@ namespace libtorrent
|
||||||
if (size < 8)
|
if (size < 8)
|
||||||
{
|
{
|
||||||
#if defined TORRENT_LOGGING
|
#if defined TORRENT_LOGGING
|
||||||
m_ses.debug_log("incoming packet from %s, not a UDP tracker message "
|
m_ses.session_log("incoming packet from %s, not a UDP tracker message "
|
||||||
"(%d Bytes)", hostname, size);
|
"(%d Bytes)", hostname, size);
|
||||||
#endif
|
#endif
|
||||||
return false;
|
return false;
|
||||||
|
@ -358,7 +358,7 @@ namespace libtorrent
|
||||||
if (i == m_udp_conns.end())
|
if (i == m_udp_conns.end())
|
||||||
{
|
{
|
||||||
#if defined TORRENT_LOGGING
|
#if defined TORRENT_LOGGING
|
||||||
m_ses.debug_log("incoming UDP tracker packet from %s has invalid "
|
m_ses.session_log("incoming UDP tracker packet from %s has invalid "
|
||||||
"transaction ID (%x)", hostname, int(transaction));
|
"transaction ID (%x)", hostname, int(transaction));
|
||||||
#endif
|
#endif
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue