summaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_handle.c
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 /src/lib/exchange_api_handle.c
parent96ccde10c8be28b1a186c9506557f36c57beab7c (diff)
downloadexchange-60549a69c794106e1d1ceae249488542c53b68c3.tar.gz
exchange-60549a69c794106e1d1ceae249488542c53b68c3.tar.bz2
exchange-60549a69c794106e1d1ceae249488542c53b68c3.zip
Fix return code check.
Diffstat (limited to 'src/lib/exchange_api_handle.c')
-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 ca4c13da..f792e89d 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);