diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-01-19 20:39:14 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-01-19 20:39:14 +0100 |
commit | 1e464cbc9e230895ad3cee64f83bc4452b12e767 (patch) | |
tree | 9c7c908a265ae569d7c293e72a923e6acbb24734 | |
parent | f65ff1dcc78817568ccec591e43f2c436abb2347 (diff) | |
download | taler-mdb-1e464cbc9e230895ad3cee64f83bc4452b12e767.tar.gz taler-mdb-1e464cbc9e230895ad3cee64f83bc4452b12e767.tar.bz2 taler-mdb-1e464cbc9e230895ad3cee64f83bc4452b12e767.zip |
rename: TALER_config_get_denom->amount
-rw-r--r-- | src/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1944,7 +1944,7 @@ write_mdb_command (void *cls) chkSum += mdb.txBuffer[idx] = mdb.cmd->cmd.bin[idx]; for (size_t idx = 0; idx < mdb.cmd->data.bin_size; idx++) chkSum += mdb.txBuffer[idx + mdb.cmd->cmd.bin_size] = - mdb.cmd->data.bin[idx]; + mdb.cmd->data.bin[idx]; mdb.txBuffer[mdb.cmd->cmd.bin_size + mdb.cmd->data.bin_size] = (uint8_t) (chkSum & 0xFF); } @@ -2526,10 +2526,10 @@ read_products (void *cls, } } if (GNUNET_OK != - TALER_config_get_denom (cls, - section, - "price", - &tmpProduct.price)) + TALER_config_get_amount (cls, + section, + "price", + &tmpProduct.price)) { GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, section, |