Skip to content

Commit

Permalink
reduced log file size
Browse files Browse the repository at this point in the history
  • Loading branch information
orignal committed Apr 10, 2015
1 parent 1d2950b commit 624bff3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion TransitTunnel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ namespace tunnel
{
if (!m_TunnelDataMsgs.empty ())
{
LogPrint (eLogDebug, "TransitTunnel: ",GetTunnelID (),"->", GetNextTunnelID (), " ", m_TunnelDataMsgs.size ());
auto num = m_TunnelDataMsgs.size ();
if (num > 1)
LogPrint (eLogDebug, "TransitTunnel: ",GetTunnelID (),"->", GetNextTunnelID (), " ", num);
i2p::transport::transports.SendMessages (GetNextIdentHash (), m_TunnelDataMsgs);
m_TunnelDataMsgs.clear ();
}
Expand Down

0 comments on commit 624bff3

Please sign in to comment.