]> WPIA git - gigi.git/commitdiff
fix: domainPinger update
authorFelix Dörre <felix@dogcraft.de>
Sun, 15 Nov 2015 22:46:54 +0000 (23:46 +0100)
committerFelix Dörre <felix@dogcraft.de>
Sun, 15 Nov 2015 22:46:54 +0000 (23:46 +0100)
src/org/cacert/gigi/ping/DomainPinger.java

index 550c86afa176f6391e5b83e001c6d07efbb6d42a..7676bcdbebe9c4e2c968a65d6857470a4d5d4608 100644 (file)
@@ -23,7 +23,7 @@ public abstract class DomainPinger {
 
     }
 
-    protected static void updatePingResult(int configId, String token, String state, String result) {
+    protected static void updatePingResult(int configId, String state, String result, String token) {
         GigiPreparedStatement updatePingResult = DatabaseConnection.getInstance().prepare("UPDATE `domainPinglog` SET `state`=?::`pingState`, `result`=? WHERE `configId`=? AND `challenge`=?");
         updatePingResult.setString(1, DomainPinger.PING_STILL_PENDING == state ? "open" : DomainPinger.PING_SUCCEDED.equals(state) ? "success" : "failed");
         updatePingResult.setString(2, result);