2005-11-25 jrandom

* Further Syndie UI cleanups
    * Logging cleanup
    * Fixed link to fproxy.tino.i2p (thanks zzz!)
This commit is contained in:
jrandom
2005-11-26 05:05:52 +00:00
committed by zzz
parent f2c2a5b386
commit ef82cc4f20
7 changed files with 73 additions and 21 deletions

View File

@ -15,9 +15,9 @@ import net.i2p.CoreVersion;
*
*/
public class RouterVersion {
public final static String ID = "$Revision: 1.296 $ $Date: 2005/11/24 03:45:56 $";
public final static String ID = "$Revision: 1.297 $ $Date: 2005/11/25 06:06:02 $";
public final static String VERSION = "0.6.1.5";
public final static long BUILD = 7;
public final static long BUILD = 8;
public static void main(String args[]) {
System.out.println("I2P Router version: " + VERSION + "-" + BUILD);
System.out.println("Router ID: " + RouterVersion.ID);

View File

@ -53,11 +53,7 @@ public class InboundMessageState {
public boolean receiveFragment(UDPPacketReader.DataReader data, int dataFragment) {
int fragmentNum = data.readMessageFragmentNum(dataFragment);
if ( (fragmentNum < 0) || (fragmentNum > _fragments.length)) {
StringBuffer buf = new StringBuffer(1024);
buf.append("Invalid fragment ").append(fragmentNum);
buf.append(": ").append(data);
//data.toRawString(buf);
_log.error(buf.toString());
_log.error("Invalid fragment " + fragmentNum + "/" + _fragments.length);
return false;
}
if (_fragments[fragmentNum] == null) {
@ -77,10 +73,7 @@ public class InboundMessageState {
+ ", isLast=" + isLast
+ ", data=" + Base64.encode(message.getData(), 0, size));
} catch (ArrayIndexOutOfBoundsException aioobe) {
StringBuffer buf = new StringBuffer(1024);
buf.append("Corrupt SSU fragment ").append(fragmentNum);
buf.append(": ").append(data);
_log.error(buf.toString(), aioobe);
_log.error("Corrupt SSU fragment " + fragmentNum, aioobe);
return false;
}
} else {