]> WPIA git - gigi.git/commitdiff
Merge "Fix typo and spelling"
authorBenny Baumann <BenBE1987@gmx.net>
Thu, 25 Aug 2016 19:41:08 +0000 (21:41 +0200)
committerGerrit Code Review <gigi-system@dogcraft.de>
Thu, 25 Aug 2016 19:41:08 +0000 (21:41 +0200)
src/org/cacert/gigi/ping/HTTPFetch.java

index a5755844a47636bc24396d7dd64af392f2772f75..f6b5c3e56f279cc9d1d1300fe93fdea6cfe551fe 100644 (file)
@@ -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();