aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-06-03 18:21:04 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2019-06-03 18:21:04 +0200
commit60549a69c794106e1d1ceae249488542c53b68c3 (patch)
treeb270e491406b135f4d2eedfdbed40c63731280fa
parent96ccde10c8be28b1a186c9506557f36c57beab7c (diff)
Fix return code check.
-rw-r--r--src/lib/exchange_api_handle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c
index ca4c13da7..f792e89de 100644
--- a/src/lib/exchange_api_handle.c
+++ b/src/lib/exchange_api_handle.c
@@ -1681,8 +1681,8 @@ TALER_EXCHANGE_serialize_data
GNUNET_break (0);
continue;
}
- if (0 == json_array_append_new (denoms,
- denom))
+ if (0 != json_array_append_new (denoms,
+ denom))
{
GNUNET_break (0);
json_decref (denom);