diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-05-03 20:07:49 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-05 16:48:26 +0200 |
commit | cdbf3a05ae3c92122b8ec15073c6fadfa0793315 (patch) | |
tree | 293712acc7b7809b95ce29a8dcce958399093b32 /src/testing | |
parent | ef97d426b1bc8cf4869a914b9e6405924c62e7a4 (diff) | |
download | exchange-cdbf3a05ae3c92122b8ec15073c6fadfa0793315.tar.xz |
modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later)
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/testing_api_cmd_deposits_get.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/testing/testing_api_cmd_deposits_get.c b/src/testing/testing_api_cmd_deposits_get.c index 33987e161..700b0edf4 100644 --- a/src/testing/testing_api_cmd_deposits_get.c +++ b/src/testing/testing_api_cmd_deposits_get.c @@ -111,7 +111,14 @@ deposit_wtid_cb (void *cls, switch (hr->http_status) { case MHD_HTTP_OK: - tts->wtid = dd->wtid; + << << << < 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) if (NULL != tts->bank_transfer_reference) { const struct TALER_TESTING_Command *bank_transfer_cmd; @@ -147,6 +154,8 @@ deposit_wtid_cb (void *cls, return; } } + + break; case MHD_HTTP_ACCEPTED: /* allowed, nothing to check here */ |