-// Copyright 2002 Adam Megacz, see the COPYING file for licensing [GPL]
+// Copyright 2003 Adam Megacz, see the COPYING file for licensing [GPL]
package org.xwt;
import java.net.*;
chunkLen += (char)i;
}
}
- length = Integer.parseInt(chunkLen, 16);
+ length = Integer.parseInt(chunkLen.trim(), 16);
if (length == 0) chunkedDone = true;
}