From: Lucas Werkmeister Date: Thu, 25 Aug 2016 08:41:54 +0000 (+0200) Subject: Fix typo and spelling X-Git-Url: https://code.wpia.club/?p=gigi.git;a=commitdiff_plain;h=d309ba7485e0c84a33a806ffdcbc14ce36662703 Fix typo and spelling Change-Id: Ideaf2432c758a66c945b4510b34885b23fc22dc7 --- diff --git a/src/org/cacert/gigi/ping/HTTPFetch.java b/src/org/cacert/gigi/ping/HTTPFetch.java index a5755844..f6b5c3e5 100644 --- a/src/org/cacert/gigi/ping/HTTPFetch.java +++ b/src/org/cacert/gigi/ping/HTTPFetch.java @@ -18,7 +18,7 @@ public class HTTPFetch extends DomainPinger { URL u = new URL("http://" + domain.getSuffix() + "/cacert-" + tokenParts[0] + ".txt"); HttpURLConnection huc = (HttpURLConnection) u.openConnection(); if (huc.getResponseCode() != 200) { - enterPingResult(confId, "error", "Invaild status code " + huc.getResponseCode() + ".", null); + enterPingResult(confId, "error", "Invalid status code " + huc.getResponseCode() + ".", null); return; } BufferedReader br = new BufferedReader(new InputStreamReader(huc.getInputStream(), "UTF-8")); @@ -31,7 +31,7 @@ public class HTTPFetch extends DomainPinger { enterPingResult(confId, PING_SUCCEDED, "", null); return; } - enterPingResult(confId, "error", "Challange tokens differed.", null); + enterPingResult(confId, "error", "Challenge tokens differed.", null); return; } catch (IOException e) { e.printStackTrace();