summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_exchanges.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/taler-merchant-httpd_exchanges.c')
-rw-r--r--src/backend/taler-merchant-httpd_exchanges.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/taler-merchant-httpd_exchanges.c b/src/backend/taler-merchant-httpd_exchanges.c
index 721c10e3..3ad7f053 100644
--- a/src/backend/taler-merchant-httpd_exchanges.c
+++ b/src/backend/taler-merchant-httpd_exchanges.c
@@ -1205,7 +1205,7 @@ accept_exchanges (void *cls,
* Parses "trusted" exchanges listed in the configuration.
*
* @param cfg the configuration
- * @return #GNUNET_OK on success; #GNUNET_SYSERR upon error in
+ * @return number of trusted exchanges on success; #GNUNET_SYSERR upon error in
* parsing.
*/
int
@@ -1244,7 +1244,7 @@ TMH_EXCHANGES_init (const struct GNUNET_CONFIGURATION_Handle *cfg)
json_array_append_new (TMH_trusted_exchanges,
j_exchange));
}
- return GNUNET_OK;
+ return json_array_size (TMH_trusted_exchanges);
}