summaryrefslogtreecommitdiff
path: root/src/bank-lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/bank-lib')
-rw-r--r--src/bank-lib/bank_api_parse.c5
-rw-r--r--src/bank-lib/fakebank.c2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/bank-lib/bank_api_parse.c b/src/bank-lib/bank_api_parse.c
index eaee04ba3..33ba6022d 100644
--- a/src/bank-lib/bank_api_parse.c
+++ b/src/bank-lib/bank_api_parse.c
@@ -28,7 +28,7 @@
*
* @param cfg configuration to parse
* @param section the section with the configuration data
- * @param auth[out] set to the configuration data found
+ * @param[out] auth set to the configuration data found
* @return #GNUNET_OK on success
*/
int
@@ -126,7 +126,7 @@ TALER_BANK_auth_parse_cfg (const struct GNUNET_CONFIGURATION_Handle *cfg,
* Free memory inside of @a auth (but not auth itself).
* Dual to #TALER_BANK_auth_parse_cfg().
*
- * @param auth authentication data to free
+ * @param[in] auth authentication data to free
*/
void
TALER_BANK_auth_free (struct TALER_BANK_AuthenticationData *auth)
@@ -149,6 +149,7 @@ TALER_BANK_auth_free (struct TALER_BANK_AuthenticationData *auth)
break;
}
GNUNET_free (auth->wire_gateway_url);
+ auth->wire_gateway_rul = NULL;
}
diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c
index bb639ea48..ea0f23ac8 100644
--- a/src/bank-lib/fakebank.c
+++ b/src/bank-lib/fakebank.c
@@ -230,7 +230,7 @@ check_log (struct TALER_FAKEBANK_Handle *h)
* @param h bank instance
* @param want_amount transfer amount desired
* @param want_debit account that should have been debited
- * @param want_debit account that should have been credited
+ * @param want_credit account that should have been credited
* @param exchange_base_url expected base URL of the exchange,
* i.e. "https://example.com/"; may include a port
* @param[out] wtid set to the wire transfer identifier