diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-05-03 20:12:18 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-05 16:49:23 +0200 |
commit | 099102dc573293656988adf6b9783255ae4fc643 (patch) | |
tree | 82e7e1b54af2b84f2013d4e59c8efea10857338e /src/testing/testing_api_cmd_deposits_get.c | |
parent | cdbf3a05ae3c92122b8ec15073c6fadfa0793315 (diff) | |
download | exchange-099102dc573293656988adf6b9783255ae4fc643.tar.xz |
modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies
Diffstat (limited to 'src/testing/testing_api_cmd_deposits_get.c')
-rw-r--r-- | src/testing/testing_api_cmd_deposits_get.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/testing/testing_api_cmd_deposits_get.c b/src/testing/testing_api_cmd_deposits_get.c index 700b0edf4..d5617ec25 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; |