diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-01-20 02:11:03 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-01-20 02:11:03 +0100 |
commit | 26ad7c8191a764ed94d81d88752352addeaeda55 (patch) | |
tree | 8613c4f445f6f9d616e85bbe04425e6459fb8764 /src/auditor | |
parent | f45b1c912b5b7678df1c59afbbaab80cadd4c770 (diff) | |
download | exchange-26ad7c8191a764ed94d81d88752352addeaeda55.tar.xz |
spelling of 'mismatch'
Diffstat (limited to 'src/auditor')
-rw-r--r-- | src/auditor/taler-wire-auditor.c | 8 | ||||
-rwxr-xr-x | src/auditor/test-auditor.sh | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/auditor/taler-wire-auditor.c b/src/auditor/taler-wire-auditor.c index 6821aedb2..94fd773c9 100644 --- a/src/auditor/taler-wire-auditor.c +++ b/src/auditor/taler-wire-auditor.c @@ -1008,7 +1008,7 @@ check_time_difference (const char *table, return; GNUNET_asprintf (&details, - "execution date missmatch (%s)", + "execution date mismatch (%s)", GNUNET_STRINGS_relative_time_to_string (delta, GNUNET_YES)); report (report_row_minor_inconsistencies, @@ -1093,7 +1093,7 @@ wire_out_cb (void *cls, "amount_justified", TALER_JSON_from_amount (&zero), "wtid", GNUNET_JSON_from_data_auto (wtid), "timestamp", json_from_time_abs (date), - "diagnostic", "recevier account missmatch", + "diagnostic", "recevier account mismatch", "account_section", wa->section_name)); GNUNET_break (GNUNET_OK == TALER_amount_add (&total_bad_amount_out_plus, @@ -1106,7 +1106,7 @@ wire_out_cb (void *cls, "amount_justified", TALER_JSON_from_amount (amount), "wtid", GNUNET_JSON_from_data_auto (wtid), "timestamp", json_from_time_abs (date), - "diagnostic", "receiver account missmatch", + "diagnostic", "receiver account mismatch", "account_section", wa->section_name)); GNUNET_break (GNUNET_OK == TALER_amount_add (&total_bad_amount_out_minus, @@ -1805,7 +1805,7 @@ history_credit_cb (void *cls, "table", "reserves_in", "row", (json_int_t) rii->rowid, "bank_row", (json_int_t) row_off, - "diagnostic", "execution date missmatch")); + "diagnostic", "execution date mismatch")); } cleanup: GNUNET_assert (GNUNET_OK == diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh index d945e4ead..00ed05230 100755 --- a/src/auditor/test-auditor.sh +++ b/src/auditor/test-auditor.sh @@ -697,7 +697,7 @@ run_audit echo -n "Testing inconsistency detection... " DIAG=`jq -r .row_minor_inconsistencies[0].diagnostic < test-wire-audit.json` -if test "x$DIAG" != "xexecution date missmatch" +if test "x$DIAG" != "xexecution date mismatch" then exit_fail "Reported diagnostic wrong: $DIAG" fi @@ -1045,7 +1045,7 @@ then fi DIAG=`jq -r .row_minor_inconsistencies[0].diagnostic < test-wire-audit.json` DIAG=`echo "$DIAG" | awk '{print $1 " " $2 " " $3}'` - if test "x$DIAG" != "xexecution date missmatch" + if test "x$DIAG" != "xexecution date mismatch" then exit_fail "Reported diagnostic wrong: $DIAG" fi |