diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-08-25 15:11:56 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-08-25 15:11:56 +0200 |
commit | 4bba7263564303f45eed86cc68e54bbbf00856a6 (patch) | |
tree | 2a9985652bcf85670afc59559e129f639bd69578 /src/json/json.c | |
parent | ce266ce8f2333d5c30672cf56c3d2e92ef20a851 (diff) |
nicer generic error reporting logic, for #6432
Diffstat (limited to 'src/json/json.c')
-rw-r--r-- | src/json/json.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/json/json.c b/src/json/json.c index 09cc757c9..266857198 100644 --- a/src/json/json.c +++ b/src/json/json.c @@ -651,7 +651,8 @@ TALER_JSON_get_error_hint (const json_t *json) GNUNET_break_op (0); return NULL; } - jc = json_object_get (json, "hint"); + jc = json_object_get (json, + "hint"); if (NULL == jc) return NULL; /* no hint, is allowed */ if (! json_is_string (jc)) |