[freenet-cvs] r18335 - trunk/freenet/src/freenet/node
toad at freenetproject.org
toad at freenetproject.org
Tue Mar 4 14:08:36 UTC 2008
Author: toad
Date: 2008-03-04 14:08:35 +0000 (Tue, 04 Mar 2008)
New Revision: 18335
Modified:
trunk/freenet/src/freenet/node/PeerNode.java
Log:
indenting
Modified: trunk/freenet/src/freenet/node/PeerNode.java
===================================================================
--- trunk/freenet/src/freenet/node/PeerNode.java 2008-03-04 14:08:22 UTC (rev 18334)
+++ trunk/freenet/src/freenet/node/PeerNode.java 2008-03-04 14:08:35 UTC (rev 18335)
@@ -3644,13 +3644,13 @@
public void sendThrottledMessage(Message msg, int packetSize, ByteCounter ctr) throws NotConnectedException {
for(int i=0;i<100;i++) {
try {
- getThrottle().sendThrottledMessage(msg, this, node.outputThrottle, packetSize, ctr);
- return;
- } catch (ThrottleDeprecatedException e) {
- // Try with the new throttle. We don't need it, we'll get it from getThrottle().
- continue;
+ getThrottle().sendThrottledMessage(msg, this, node.outputThrottle, packetSize, ctr);
+ return;
+ } catch (ThrottleDeprecatedException e) {
+ // Try with the new throttle. We don't need it, we'll get it from getThrottle().
+ continue;
+ }
}
- }
Logger.error(this, "Peer constantly changes its IP address!!: "+shortToString());
forceDisconnect(true);
}
More information about the cvs
mailing list