Browse Source

little update

Nothing to do here.
Deben Oldert 11 năm trước cách đây
mục cha
commit
ed668737af
1 tập tin đã thay đổi với 6 bổ sung1 xóa
  1. 6 1
      captiveportal/Command.java

+ 6 - 1
captiveportal/Command.java

@@ -14,7 +14,12 @@ public class Command {
     	    while((line = is.readLine()) != null){
     	        System.out.println(line);
     	    }
-    	    return true;
+    	    if((line = is.readLine()) == "SUCCES") {
+    	    	return true;
+    	    }
+    	    else {
+    	    return true;	
+    	    }
 			} catch ( Exception err ) {
 				err.printStackTrace();
 				return false;