diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2019-06-03 18:21:04 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2019-06-03 18:21:04 +0200 |
commit | 60549a69c794106e1d1ceae249488542c53b68c3 (patch) | |
tree | b270e491406b135f4d2eedfdbed40c63731280fa /src | |
parent | 96ccde10c8be28b1a186c9506557f36c57beab7c (diff) |
Fix return code check.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/exchange_api_handle.c | 4 |
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); |