Fix return code check.

This commit is contained in:
Marcello Stanisci 2019-06-03 18:21:04 +02:00
parent 96ccde10c8
commit 60549a69c7
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F

View File

@ -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);