diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-01-18 20:20:24 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-01-18 20:20:24 +0100 |
commit | 824e6ce9d74ee12c955dc0b0c91447c1e18a54d9 (patch) | |
tree | 9b527709f1da3c03f92c370ee92ed54a8b0ec3d0 /src/lib | |
parent | 3d431e8d333acdd4f7b54bc7a71508a7f0f885ce (diff) |
doxygen fixes, remove redundant parameters
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/testing_api_cmd_bank_admin_add_incoming.c | 6 | ||||
-rw-r--r-- | src/lib/testing_api_trait_string.c | 8 |
2 files changed, 5 insertions, 9 deletions
diff --git a/src/lib/testing_api_cmd_bank_admin_add_incoming.c b/src/lib/testing_api_cmd_bank_admin_add_incoming.c index ac92efb70..4dea3d4df 100644 --- a/src/lib/testing_api_cmd_bank_admin_add_incoming.c +++ b/src/lib/testing_api_cmd_bank_admin_add_incoming.c @@ -431,14 +431,13 @@ admin_add_incoming_traits (void *cls, */ static struct AdminAddIncomingState * make_fts (const char *amount, - const char *exchange_base_url, const struct TALER_BANK_AuthenticationData *auth, const char *payto_debit_account) { struct AdminAddIncomingState *fts; fts = GNUNET_new (struct AdminAddIncomingState); - fts->exchange_credit_url = exchange_base_url; + fts->exchange_credit_url = auth->wire_gateway_url; fts->payto_debit_account = payto_debit_account; fts->auth = *auth; if (GNUNET_OK != @@ -495,7 +494,6 @@ TALER_TESTING_cmd_admin_add_incoming (const char *label, { return make_command (label, make_fts (amount, - auth->wire_gateway_url, auth, payto_debit_account)); } @@ -526,7 +524,6 @@ TALER_TESTING_cmd_admin_add_incoming_with_ref struct AdminAddIncomingState *fts; fts = make_fts (amount, - auth->wire_gateway_url, auth, payto_debit_account); fts->reserve_reference = ref; @@ -566,7 +563,6 @@ TALER_TESTING_cmd_admin_add_incoming_with_instance struct AdminAddIncomingState *fts; fts = make_fts (amount, - auth->wire_gateway_url, auth, payto_debit_account); fts->instance = instance; diff --git a/src/lib/testing_api_trait_string.c b/src/lib/testing_api_trait_string.c index 80c9b4207..0c7a606ff 100644 --- a/src/lib/testing_api_trait_string.c +++ b/src/lib/testing_api_trait_string.c @@ -209,20 +209,20 @@ TALER_TESTING_get_trait_payto (const struct TALER_TESTING_Command *cmd, * * @param pt which reference is to be offered, * in case multiple are offered. - * @param payto the payto URL + * @param payto_uri the payto URI * @return the trait. */ struct TALER_TESTING_Trait TALER_TESTING_make_trait_payto (enum TALER_TESTING_PaytoType pt, - const char *payto) + const char *payto_uri) { struct TALER_TESTING_Trait ret = { .index = (unsigned int) pt, .trait_name = TALER_TESTING_TRAIT_PAYTO, - .ptr = (const void *) payto + .ptr = (const void *) payto_uri, }; - GNUNET_assert (0 == strncasecmp (payto, + GNUNET_assert (0 == strncasecmp (payto_uri, "payto://", strlen ("payto://"))); return ret; |