fixed wrong URL on keepmealive.php request

This commit is contained in:
harrim4n
2016-02-01 22:12:59 +01:00
parent 9d693d81b1
commit 585f9f8a1f

View File

@@ -124,7 +124,7 @@ public class Server extends Thread implements HostnameVerifier, X509TrustManager
} }
} }
HttpURLConnection connection = this.HTTPRequest(this.base_url + this.getPage("keepmealive") + args); HttpURLConnection connection = this.HTTPRequest(this.getPage("keepmealive") + args);
if (connection.getResponseCode() == HttpURLConnection.HTTP_OK && connection.getContentType().startsWith("text/xml")) { if (connection.getResponseCode() == HttpURLConnection.HTTP_OK && connection.getContentType().startsWith("text/xml")) {
DataInputStream in = new DataInputStream(connection.getInputStream()); DataInputStream in = new DataInputStream(connection.getInputStream());