diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-07-08 09:47:50 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-07-08 09:47:50 +0200 |
commit | 663ea48047a159aaa482408a59a869b6db8a82a8 (patch) | |
tree | 609a8e6d61a90e16d01a9ff96d133e9ef535b922 /src/util | |
parent | ea5c1233f13ad3128207b6b84401d8638dbc43e5 (diff) |
nice error reporting
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/json.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/util/json.c b/src/util/json.c index 004f7734c..8faee6035 100644 --- a/src/util/json.c +++ b/src/util/json.c @@ -299,9 +299,8 @@ TALER_json_to_amount (json_t *json, { char *json_enc; - GNUNET_break_op (0); if (NULL == (json_enc = json_dumps (json, - JSON_COMPACT | JSON_SORT_KEYS | JSON_ENCODE_ANY))) + JSON_COMPACT | JSON_ENCODE_ANY))) { GNUNET_break (0); return GNUNET_SYSERR; |