summaryrefslogtreecommitdiff
path: root/src/exchangedb
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-03-31 20:57:11 +0200
committerChristian Grothoff <christian@grothoff.org>2020-03-31 20:57:11 +0200
commit3404fda463cdb905772a4757001e5113d3f74f29 (patch)
tree03ad69bc7c31ba00e6e5f52c697a97b2c834e288 /src/exchangedb
parent73d107b53d5f3c1461a74f280a84a1ab80d14360 (diff)
downloadexchange-3404fda463cdb905772a4757001e5113d3f74f29.tar.gz
exchange-3404fda463cdb905772a4757001e5113d3f74f29.tar.bz2
exchange-3404fda463cdb905772a4757001e5113d3f74f29.zip
Diffstat (limited to 'src/exchangedb')
-rw-r--r--src/exchangedb/exchange-0000.sql2
-rw-r--r--src/exchangedb/exchangedb_accounts.c2
-rw-r--r--src/exchangedb/exchangedb_auditorkeys.c2
-rw-r--r--src/exchangedb/exchangedb_denomkeys.c2
-rw-r--r--src/exchangedb/plugin_exchangedb_postgres.c4
-rw-r--r--src/exchangedb/test_exchangedb.c8
6 files changed, 10 insertions, 10 deletions
diff --git a/src/exchangedb/exchange-0000.sql b/src/exchangedb/exchange-0000.sql
index 1483e2015..116f409b7 100644
--- a/src/exchangedb/exchange-0000.sql
+++ b/src/exchangedb/exchange-0000.sql
@@ -150,7 +150,7 @@ BEGIN;
-- It requires that PL/pgSQL is already loaded - will raise exception otherwise.
-- All versioning "stuff" (tables, functions) is in "_v" schema.
--- All functions are defined as 'RETURNS SETOF INT4' to be able to make them to RETURN literaly nothing (0 rows).
+-- All functions are defined as 'RETURNS SETOF INT4' to be able to make them to RETURN literally nothing (0 rows).
-- >> RETURNS VOID<< IS similar, but it still outputs "empty line" in psql when calling.
CREATE SCHEMA IF NOT EXISTS _v;
COMMENT ON SCHEMA _v IS 'Schema for versioning data and functionality.';
diff --git a/src/exchangedb/exchangedb_accounts.c b/src/exchangedb/exchangedb_accounts.c
index db23eafca..b66b1bcc1 100644
--- a/src/exchangedb/exchangedb_accounts.c
+++ b/src/exchangedb/exchangedb_accounts.c
@@ -39,7 +39,7 @@ static struct TALER_EXCHANGEDB_WireAccount *wa_tail;
struct FindAccountContext
{
/**
- * Configuration we are usign.
+ * Configuration we are using.
*/
const struct GNUNET_CONFIGURATION_Handle *cfg;
diff --git a/src/exchangedb/exchangedb_auditorkeys.c b/src/exchangedb/exchangedb_auditorkeys.c
index d285fc5e6..0a0370cfe 100644
--- a/src/exchangedb/exchangedb_auditorkeys.c
+++ b/src/exchangedb/exchangedb_auditorkeys.c
@@ -108,7 +108,7 @@ auditor_iter (void *cls,
GNUNET_YES))
{
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
- "Skipping inaccessable auditor information file `%s'\n",
+ "Skipping inaccessible auditor information file `%s'\n",
filename);
return GNUNET_OK;
}
diff --git a/src/exchangedb/exchangedb_denomkeys.c b/src/exchangedb/exchangedb_denomkeys.c
index 6c5465869..fe74d1560 100644
--- a/src/exchangedb/exchangedb_denomkeys.c
+++ b/src/exchangedb/exchangedb_denomkeys.c
@@ -124,7 +124,7 @@ TALER_EXCHANGEDB_denomination_key_read (
GNUNET_YES))
{
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
- "Skipping inaccessable denomination key file `%s'\n",
+ "Skipping inaccessible denomination key file `%s'\n",
filename);
return GNUNET_SYSERR;
}
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c
index c21f1b1a9..a639b133d 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -2570,7 +2570,7 @@ postgres_get_reserve_history (void *cls,
* @param cls the `struct PostgresClosure` with the plugin-specific state
* @param session database connection
* @param deposit deposit to search for
- * @param check_extras wether to check extra fields match or not
+ * @param check_extras whether to check extra fields match or not
* @return 1 if we know this operation,
* 0 if this exact deposit is unknown to us,
* otherwise transaction error status
@@ -7226,7 +7226,7 @@ libtaler_plugin_exchangedb_postgres_init (void *cls)
if (0 != pthread_key_create (&pg->db_conn_threadlocal,
&db_conn_destroy))
{
- TALER_LOG_ERROR ("Cannnot create pthread key.\n");
+ TALER_LOG_ERROR ("Cannot create pthread key.\n");
GNUNET_free (pg->sql_dir);
GNUNET_free (pg);
return NULL;
diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c
index ba8059c4d..a92721641 100644
--- a/src/exchangedb/test_exchangedb.c
+++ b/src/exchangedb/test_exchangedb.c
@@ -838,7 +838,7 @@ static uint64_t deposit_rowid;
* @param amount_with_fee amount that was deposited including fee
* @param deposit_fee amount the exchange gets to keep as transaction fees
* @param h_contract_terms hash of the proposal data known to merchant and customer
- * @param wire_deadline by which the merchant adviced that he would like the
+ * @param wire_deadline by which the merchant advised that he would like the
* wire transfer to be executed
* @param wire wire details for the merchant, NULL from iterate_matching_deposits()
* @return transaction status code, #GNUNET_DB_STATUS_SUCCESS_ONE_RESULT to continue to iterate
@@ -897,9 +897,9 @@ deposit_cb (void *cls,
* @param coin_sig signature from the coin
* @param amount_with_fee amount that was deposited including fee
* @param h_contract_terms hash of the proposal data known to merchant and customer
- * @param refund_deadline by which the merchant adviced that he might want
+ * @param refund_deadline by which the merchant advised that he might want
* to get a refund
- * @param wire_deadline by which the merchant adviced that he would like the
+ * @param wire_deadline by which the merchant advised that he would like the
* wire transfer to be executed
* @param receiver_wire_account wire details for the merchant, NULL from iterate_matching_deposits()
* @param done flag set if the deposit was already executed (or not)
@@ -1785,7 +1785,7 @@ run (void *cls)
FAILIF (0 != memcmp (&bt->reserve_pub,
&reserve_pub,
sizeof (reserve_pub)));
- /* this is the amount we trasferred twice*/
+ /* this is the amount we transferred twice*/
FAILIF (1 != bt->amount.value);
FAILIF (1000 != bt->amount.fraction);
FAILIF (0 != strcmp (CURRENCY, bt->amount.currency));