summaryrefslogtreecommitdiff
path: root/src/bank-lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-06-03 10:44:57 +0200
committerChristian Grothoff <christian@grothoff.org>2019-06-03 10:44:57 +0200
commitc241694ccb6de36971a27f144433521f30f92fa3 (patch)
tree6d42cca8040e0f568ce7550290c30edb18b26b34 /src/bank-lib
parent2cea0eb4d2ee117a48703370a4ff4be6b275df0f (diff)
downloadexchange-c241694ccb6de36971a27f144433521f30f92fa3.tar.gz
exchange-c241694ccb6de36971a27f144433521f30f92fa3.tar.bz2
exchange-c241694ccb6de36971a27f144433521f30f92fa3.zip
check more return values
Diffstat (limited to 'src/bank-lib')
-rw-r--r--src/bank-lib/fakebank_history.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bank-lib/fakebank_history.c b/src/bank-lib/fakebank_history.c
index a3553b65b..4cd0dc4cd 100644
--- a/src/bank-lib/fakebank_history.c
+++ b/src/bank-lib/fakebank_history.c
@@ -227,8 +227,9 @@ TFH_build_history_response (struct MHD_Connection *connection,
while (NULL != history_element)
{
- json_array_append_new (history,
- history_element->element);
+ GNUNET_assert (0 ==
+ json_array_append_new (history,
+ history_element->element));
history_element = history_element->next;
if (NULL != history_element)
GNUNET_free_non_null (history_element->prev);