merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 2cf860f09c28cbbdfd0b66176f4f0bd93a184048
parent f9441ca8541756e454a6560f8f7dc11afd8b300c
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 24 Apr 2016 03:26:00 +0200

fix const causing ftbfs

Diffstat:
Msrc/backend/taler-merchant-httpd_pay.c | 4++--
Msrc/backenddb/plugin_merchantdb_postgres.c | 2+-
Msrc/include/taler_merchantdb_plugin.h | 2+-
3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_pay.c b/src/backend/taler-merchant-httpd_pay.c @@ -277,7 +277,7 @@ abort_deposit (struct PayContext *pc) static void deposit_cb (void *cls, unsigned int http_status, - json_t *proof) + const json_t *proof) { struct MERCHANT_DepositConfirmation *dc = cls; struct PayContext *pc = dc->pc; @@ -423,7 +423,7 @@ process_pay_with_exchange (void *cls, const struct TALER_EXCHANGE_DenomPublicKey *denom_details; denom_details = TALER_EXCHANGE_get_denomination_key (keys, - &dc->denom); + &dc->denom); if (NULL == denom_details) { GNUNET_break_op (0); diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c @@ -152,7 +152,7 @@ postgres_store_payment (void *cls, struct GNUNET_TIME_Absolute refund, const struct TALER_Amount *amount_without_fee, const struct TALER_CoinSpendPublicKeyP *coin_pub, - json_t *exchange_proof) + const json_t *exchange_proof) { struct PostgresClosure *pg = cls; PGresult *res; diff --git a/src/include/taler_merchantdb_plugin.h b/src/include/taler_merchantdb_plugin.h @@ -82,7 +82,7 @@ struct TALER_MERCHANTDB_Plugin struct GNUNET_TIME_Absolute refund, const struct TALER_Amount *amount_without_fee, const struct TALER_CoinSpendPublicKeyP *coin_pub, - json_t *exchange_proof); + const json_t *exchange_proof); /** * Check whether a payment has already been stored