I2PTunnel: fix my own stupid bug in I2PTunnelConnectClient

This commit is contained in:
sponge
2011-02-11 11:12:19 +00:00
parent 8ec3e58e27
commit dd2c5067aa
2 changed files with 2 additions and 2 deletions

View File

@ -170,7 +170,7 @@ public class I2PTunnelConnectClient extends I2PTunnelHTTPClientBase implements R
// since we are passing the stream on to I2PTunnelRunner
line = DataHelper.readLine(in);
if(line == null) {
line = ''; // prevent NPE, Is this what we need to do?
line = ""; // prevent NPE, Is this what we need to do?
}
line = line.trim();
if (_log.shouldLog(Log.DEBUG))