Explorar el Código

little update

Nothing to do here.
Deben Oldert hace 11 años
padre
commit
ed668737af
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  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;