summaryrefslogtreecommitdiff
path: root/src/util/json.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-04-12 22:49:06 +0200
committerChristian Grothoff <christian@grothoff.org>2015-04-12 22:49:06 +0200
commit68774b20da5783ba795c4536989963bb2d5e8141 (patch)
tree6cf2bac546c26db3aba87abfbee7a8636b775008 /src/util/json.c
parent5e8f95c65ed1958d384d107832b5ed2284968f7a (diff)
downloadexchange-68774b20da5783ba795c4536989963bb2d5e8141.tar.gz
exchange-68774b20da5783ba795c4536989963bb2d5e8141.tar.bz2
exchange-68774b20da5783ba795c4536989963bb2d5e8141.zip
fix for #3626: make it easier to add additional validators
Diffstat (limited to 'src/util/json.c')
-rw-r--r--src/util/json.c4
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", &currency,
"value", &value,