From 68774b20da5783ba795c4536989963bb2d5e8141 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 12 Apr 2015 22:49:06 +0200 Subject: fix for #3626: make it easier to add additional validators --- src/util/json.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/util/json.c') 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, -- cgit v1.2.3