Fixed possible NullPointerException

This commit is contained in:
pesckal
2011-08-08 04:24:10 +00:00
parent 7719437d74
commit c7e34f4e45

View File

@@ -192,6 +192,9 @@ public class Base {
Socket s = ss.accept();
BufferedReader br = new BufferedReader(new InputStreamReader(s.getInputStream()));
String receivedKey = br.readLine();
if (platform.base == null) continue;
if (key.equals(receivedKey)) {
String filename = br.readLine();
if (filename != null) {