fix non-openssl logging build
This commit is contained in:
parent
27ec2e1678
commit
61ceacca9b
|
@ -207,9 +207,12 @@ namespace libtorrent
|
||||||
peer_log(">>> %s [ ep: %s transport: %s seed: %d p: %p ]"
|
peer_log(">>> %s [ ep: %s transport: %s seed: %d p: %p ]"
|
||||||
, outgoing ? "OUTGOING_CONNECTION" : "INCOMING CONNECTION"
|
, outgoing ? "OUTGOING_CONNECTION" : "INCOMING CONNECTION"
|
||||||
, print_endpoint(m_remote).c_str()
|
, print_endpoint(m_remote).c_str()
|
||||||
, m_socket->get<ssl_stream<stream_socket> >() ? "SSL/TCP"
|
,
|
||||||
: m_socket->get<ssl_stream<utp_stream> >() ? "SSL/uTP"
|
#ifdef TORRENT_USE_OPENSSL
|
||||||
: m_socket->get<utp_stream>() ? "uTP" : "TCP"
|
m_socket->get<ssl_stream<stream_socket> >() ? "SSL/TCP" :
|
||||||
|
m_socket->get<ssl_stream<utp_stream> >() ? "SSL/uTP" :
|
||||||
|
#endif
|
||||||
|
m_socket->get<utp_stream>() ? "uTP" : "TCP"
|
||||||
, m_peer_info ? m_peer_info->seed : 0, m_peer_info);
|
, m_peer_info ? m_peer_info->seed : 0, m_peer_info);
|
||||||
#endif
|
#endif
|
||||||
#ifdef TORRENT_DEBUG
|
#ifdef TORRENT_DEBUG
|
||||||
|
|
Loading…
Reference in New Issue