diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-06-15 16:04:29 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-06-15 16:04:29 +0200 |
commit | b31c62039dd342455b678b921ab16156e625af51 (patch) | |
tree | b7f9eb50a5fb69be9ec754a51ca5ab84a553ebd4 /src/exchange-lib/exchange_api_refund.c | |
parent | 7588f08238d2155c14186cffbc831a78b01de4d3 (diff) | |
download | exchange-b31c62039dd342455b678b921ab16156e625af51.tar.xz |
avoid passing int's as void*'s in benchmark logic
Diffstat (limited to 'src/exchange-lib/exchange_api_refund.c')
-rw-r--r-- | src/exchange-lib/exchange_api_refund.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/exchange-lib/exchange_api_refund.c b/src/exchange-lib/exchange_api_refund.c index fff03acf9..26b960703 100644 --- a/src/exchange-lib/exchange_api_refund.c +++ b/src/exchange-lib/exchange_api_refund.c @@ -283,7 +283,8 @@ TALER_EXCHANGE_refund (struct TALER_EXCHANGE_Handle *exchange, "merchant_pub", GNUNET_JSON_from_data_auto (&rr.merchant), "merchant_sig", GNUNET_JSON_from_data_auto (&merchant_sig) ); - + GNUNET_assert (NULL != refund_obj); + rh = GNUNET_new (struct TALER_EXCHANGE_RefundHandle); rh->exchange = exchange; rh->cb = cb; |