From: Benny Baumann Date: Thu, 25 Aug 2016 19:41:08 +0000 (+0200) Subject: Merge "Fix typo and spelling" X-Git-Url: https://code.wpia.club/?p=gigi.git;a=commitdiff_plain;h=9efe305311c7e9f78a41093d2e2e9c57bfd10c7b;hp=dd08e76b61c848c75e6a8ca0d9f4a6b22ac112b9 Merge "Fix typo and spelling" --- 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();