From d309ba7485e0c84a33a806ffdcbc14ce36662703 Mon Sep 17 00:00:00 2001 From: Lucas Werkmeister Date: Thu, 25 Aug 2016 10:41:54 +0200 Subject: [PATCH] Fix typo and spelling Change-Id: Ideaf2432c758a66c945b4510b34885b23fc22dc7 --- src/org/cacert/gigi/ping/HTTPFetch.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.39.2