r27158 - trunk/freenet/src/freenet/support

[email protected] Tue, 21 Apr 2009 15:24:52 +0000
Newsgroups gmane.network.freenet.cvs
Message-ID <[email protected]>
Author: toad
Date: 2009-04-21 15:24:51 +0000 (Tue, 21 Apr 2009)
New Revision: 27158

Modified:
   trunk/freenet/src/freenet/support/FileLoggerHook.java
Log:
Fix horrible logs bug


Modified: trunk/freenet/src/freenet/support/FileLoggerHook.java
===================================================================
--- trunk/freenet/src/freenet/support/FileLoggerHook.java	2009-04-21 15:18:41 UTC (rev 27157)
+++ trunk/freenet/src/freenet/support/FileLoggerHook.java	2009-04-21 15:24:51 UTC (rev 27158)
@@ -621,6 +621,7 @@
 			else{
 				FileUtil.renameTo(currentFilename, numericSameDateFilename);
 				currentFilename = numericSameDateFilename;
+				break;
 			}
 		}
 		if(oldFile != null) {