diff options
Diffstat (limited to 'src/auditor/taler-auditor-httpd_exchanges.c')
-rw-r--r-- | src/auditor/taler-auditor-httpd_exchanges.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/auditor/taler-auditor-httpd_exchanges.c b/src/auditor/taler-auditor-httpd_exchanges.c index ef5c9b025..237b973f8 100644 --- a/src/auditor/taler-auditor-httpd_exchanges.c +++ b/src/auditor/taler-auditor-httpd_exchanges.c @@ -50,10 +50,10 @@ add_exchange (void *cls, GNUNET_JSON_from_data_auto (master_pub), "exchange_url", exchange_url); - GNUNET_assert (NULL != obj); - GNUNET_assert (0 == - json_array_append_new (list, - obj)); + GNUNET_break (NULL != obj); + GNUNET_break (0 == + json_array_append_new (list, + obj)); } @@ -93,6 +93,7 @@ TAH_EXCHANGES_handler (struct TAH_RequestHandler *rh, "failed to establish session with database"); } ja = json_array (); + GNUNET_break (NULL != ja); qs = TAH_plugin->list_exchanges (TAH_plugin->cls, session, &add_exchange, |