diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-04-12 22:49:06 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-04-12 22:49:06 +0200 |
commit | 68774b20da5783ba795c4536989963bb2d5e8141 (patch) | |
tree | 6cf2bac546c26db3aba87abfbee7a8636b775008 /src/util/json.c | |
parent | 5e8f95c65ed1958d384d107832b5ed2284968f7a (diff) | |
download | exchange-68774b20da5783ba795c4536989963bb2d5e8141.tar.xz |
fix for #3626: make it easier to add additional validators
Diffstat (limited to 'src/util/json.c')
-rw-r--r-- | src/util/json.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util/json.c b/src/util/json.c index 59c624646..1cc04fe83 100644 --- a/src/util/json.c +++ b/src/util/json.c @@ -258,7 +258,9 @@ TALER_json_to_amount (json_t *json, json_int_t fraction; json_error_t error; - UNPACK_EXITIF (0 != json_unpack_ex (json, &error, JSON_STRICT, + UNPACK_EXITIF (0 != json_unpack_ex (json, + &error, + JSON_STRICT, "{s:s, s:I, s:I}", "curreny", ¤cy, "value", &value, |