This commit is contained in:
jrandom
2005-02-17 19:49:16 +00:00
committed by zzz
parent dd10747460
commit dca09d96b3
2 changed files with 3 additions and 3 deletions

View File

@ -120,7 +120,7 @@ public class FragmentedMessage {
_lastReceived = isLast; _lastReceived = isLast;
_toRouter = toRouter; _toRouter = toRouter;
_toTunnel = toTunnel; _toTunnel = toTunnel;
if (isLast) if (_highFragmentNum < 0)
_highFragmentNum = 0; _highFragmentNum = 0;
} }

View File

@ -278,8 +278,8 @@ public class TunnelPool {
} }
public void tunnelFailed(PooledTunnelCreatorConfig cfg) { public void tunnelFailed(PooledTunnelCreatorConfig cfg) {
if (_log.shouldLog(Log.ERROR)) if (_log.shouldLog(Log.WARN))
_log.error(toString() + ": Tunnel failed: " + cfg, new Exception("failure cause")); _log.warn(toString() + ": Tunnel failed: " + cfg, new Exception("failure cause"));
int remaining = 0; int remaining = 0;
LeaseSet ls = null; LeaseSet ls = null;
synchronized (_tunnels) { synchronized (_tunnels) {