diff options
Diffstat (limited to 'src/lib/merchant_api_proposal.c')
-rw-r--r-- | src/lib/merchant_api_proposal.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/merchant_api_proposal.c b/src/lib/merchant_api_proposal.c index 72b44fa8..3d7218c6 100644 --- a/src/lib/merchant_api_proposal.c +++ b/src/lib/merchant_api_proposal.c @@ -122,10 +122,12 @@ struct TALER_MERCHANT_ProposalLookupOperation static void handle_proposal_finished (void *cls, long response_code, - const json_t *json) + const void *response) { struct TALER_MERCHANT_ProposalOperation *po = cls; const char *order_id; + const json_t *json = response; + struct GNUNET_JSON_Specification spec[] = { GNUNET_JSON_spec_string ("order_id", &order_id), @@ -264,12 +266,14 @@ TALER_MERCHANT_order_put (struct GNUNET_CURL_Context *ctx, static void handle_proposal_lookup_finished (void *cls, long response_code, - const json_t *json) + const void *response) { struct TALER_MERCHANT_ProposalLookupOperation *plo = cls; json_t *contract_terms; struct TALER_MerchantSignatureP sig; struct GNUNET_HashCode hash; + const json_t *json = response; + struct GNUNET_JSON_Specification spec[] = { GNUNET_JSON_spec_json ("contract_terms", &contract_terms), |