summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_pay.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-11-25 21:31:40 +0100
committerChristian Grothoff <christian@grothoff.org>2015-11-25 21:31:40 +0100
commit22ba70b543717aa6d91ca4a44bd731b4a3bfc4f9 (patch)
treeda5e0f4bb6ab7f2d2587aa237c5c332f3c6fc189 /src/backend/taler-merchant-httpd_pay.c
parent47223238c240493887e1222ef76950e60871e84f (diff)
downloadmerchant-22ba70b543717aa6d91ca4a44bd731b4a3bfc4f9.tar.gz
merchant-22ba70b543717aa6d91ca4a44bd731b4a3bfc4f9.tar.bz2
merchant-22ba70b543717aa6d91ca4a44bd731b4a3bfc4f9.zip
simplify code as planned
Diffstat (limited to 'src/backend/taler-merchant-httpd_pay.c')
-rw-r--r--src/backend/taler-merchant-httpd_pay.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/backend/taler-merchant-httpd_pay.c b/src/backend/taler-merchant-httpd_pay.c
index 8c9dcdf8..167fde86 100644
--- a/src/backend/taler-merchant-httpd_pay.c
+++ b/src/backend/taler-merchant-httpd_pay.c
@@ -313,12 +313,10 @@ pay_context_cleanup (struct TM_HandlerContext *hc)
* Function called with the result of our mint lookup.
*
* @param cls the `struct PayContext`
- * @param mint NULL if mint was not found to be acceptable
* @param mh NULL if mint was not found to be acceptable
*/
static void
process_pay_with_mint (void *cls,
- struct MERCHANT_Mint *mint,
struct TALER_MINT_Handle *mh)
{
struct PayContext *pc = cls;
@@ -327,7 +325,7 @@ process_pay_with_mint (void *cls,
const struct TALER_MINT_Keys *keys;
unsigned int i;
- if (NULL == mint)
+ if (NULL == mh)
{
/* The mint on offer is not in the set of our (trusted)
mints. Reject the payment. */