[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] 111/152: modify TALER_EXCHANGE_deposits_get() API to av
From: |
gnunet |
Subject: |
[taler-exchange] 111/152: modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies |
Date: |
Sun, 05 Jul 2020 20:47:47 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
commit 099102dc573293656988adf6b9783255ae4fc643
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun May 3 20:12:18 2020 +0200
modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need
for deep copies
---
src/include/taler_exchange_service.h | 1 -
src/testing/testing_api_cmd_deposits_get.c | 9 +--------
2 files changed, 1 insertion(+), 9 deletions(-)
diff --git a/src/include/taler_exchange_service.h
b/src/include/taler_exchange_service.h
index ea185f09..38928dc1 100644
--- a/src/include/taler_exchange_service.h
+++ b/src/include/taler_exchange_service.h
@@ -1722,7 +1722,6 @@ struct TALER_EXCHANGE_DepositData
* yet execute the transaction
*/
struct TALER_Amount coin_contribution;
-
};
diff --git a/src/testing/testing_api_cmd_deposits_get.c
b/src/testing/testing_api_cmd_deposits_get.c
index 700b0edf..d5617ec2 100644
--- a/src/testing/testing_api_cmd_deposits_get.c
+++ b/src/testing/testing_api_cmd_deposits_get.c
@@ -111,14 +111,7 @@ deposit_wtid_cb (void *cls,
switch (hr->http_status)
{
case MHD_HTTP_OK:
- << << << < HEAD
- tts->wtid = dd->wtid;
- ====== =
- GNUNET_assert (NULL != dd->wtid);
- tts->wtid = *dd->wtid;
- >> >> >> > modify
- TALER_EXCHANGE_deposits_get () API to combine returned arguments into
- a struct (simplifies merchant later)
+ tts->wtid = dd->wtid;
if (NULL != tts->bank_transfer_reference)
{
const struct TALER_TESTING_Command *bank_transfer_cmd;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-exchange] 118/152: fix auditor drop, (continued)
- [taler-exchange] 118/152: fix auditor drop, gnunet, 2020/07/05
- [taler-exchange] 115/152: return fee as well, gnunet, 2020/07/05
- [taler-exchange] 123/152: implemented the other functions for taler_sq_lib, gnunet, 2020/07/05
- [taler-exchange] 126/152: bringing gana up to date so uncrustify accepts taler_error_codes.h, gnunet, 2020/07/05
- [taler-exchange] 128/152: update gana, gnunet, 2020/07/05
- [taler-exchange] 131/152: moved yna to exchange, gnunet, 2020/07/05
- [taler-exchange] 140/152: synchronize with latest GANA, gnunet, 2020/07/05
- [taler-exchange] 146/152: expand justifications / agree with append-only log, gnunet, 2020/07/05
- [taler-exchange] 109/152: update exchange API to return struct instead of lots of individual args for TALER_EXCHANGE_transfers_get() -- simplifies merchant later, gnunet, 2020/07/05
- [taler-exchange] 119/152: ecs, gnunet, 2020/07/05
- [taler-exchange] 111/152: modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies,
gnunet <=
- [taler-exchange] 127/152: do init submodules, gnunet, 2020/07/05
- [taler-exchange] 130/152: sync gana, gnunet, 2020/07/05
- [taler-exchange] 122/152: created taler_sq_lib, gnunet, 2020/07/05
- [taler-exchange] 137/152: testing traits for uint32_t and GNUNET_TIME_Relative, gnunet, 2020/07/05
- [taler-exchange] 136/152: add TALER_MHD_parse_internal_json_data(), gnunet, 2020/07/05
- [taler-exchange] 93/152: update exchange API to return struct instead of lots of individual args for TALER_EXCHANGE_transfers_get() -- simplifies merchant later, gnunet, 2020/07/05
- [taler-exchange] 139/152: clarify with/without wire fee issue, sanity checks on currencies, gnunet, 2020/07/05
- [taler-exchange] 143/152: bump required version, gnunet, 2020/07/05
- [taler-exchange] 150/152: merge, gnunet, 2020/07/05
- [taler-exchange] 149/152: fix error reporting/handling, gnunet, 2020/07/05