mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-23 05:47:17 +01:00
update logging
This commit is contained in:
parent
f2dde98e2f
commit
14f2b24b16
|
@ -457,8 +457,7 @@ namespace tunnel
|
||||||
tunnel = prevTunnel;
|
tunnel = prevTunnel;
|
||||||
else if (prevTunnel)
|
else if (prevTunnel)
|
||||||
prevTunnel->FlushTunnelDataMsgs ();
|
prevTunnel->FlushTunnelDataMsgs ();
|
||||||
else
|
|
||||||
LogPrint(eLogWarning, "Tunnel: no previous tunnel, prevTunnelID=", prevTunnelID, "tunnelID=", tunnelID, "type=", (int)typeID);
|
|
||||||
if (!tunnel)
|
if (!tunnel)
|
||||||
tunnel = GetTunnel (tunnelID);
|
tunnel = GetTunnel (tunnelID);
|
||||||
if (tunnel)
|
if (tunnel)
|
||||||
|
@ -469,7 +468,8 @@ namespace tunnel
|
||||||
HandleTunnelGatewayMsg (tunnel, msg);
|
HandleTunnelGatewayMsg (tunnel, msg);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
LogPrint (eLogWarning, "Tunnel: tunnel with id ", tunnelID, " not found, type=", (int)typeID);
|
LogPrint (eLogWarning, "Tunnel: tunnel not found, tunnelID=", tunnelID, " previousTunnelID=", prevTunnelID, " type=", (int)typeID);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case eI2NPVariableTunnelBuild:
|
case eI2NPVariableTunnelBuild:
|
||||||
|
|
Loading…
Reference in a new issue