fix json parsing invocation
This commit is contained in:
parent
71f00b3764
commit
ec0b1b512c
@ -1 +1 @@
|
||||
Subproject commit 880352a419beee4864f863182dbc695c859ee3f7
|
||||
Subproject commit 65b32359b300f5369eff62fceb5001e609c2f339
|
@ -615,8 +615,9 @@ TALER_JSON_get_error_code2 (const void *data,
|
||||
enum TALER_ErrorCode ec;
|
||||
json_error_t err;
|
||||
|
||||
json = json_loads (data,
|
||||
json = json_loadb (data,
|
||||
data_size,
|
||||
JSON_REJECT_DUPLICATES,
|
||||
&err);
|
||||
if (NULL == json)
|
||||
return TALER_EC_INVALID;
|
||||
|
Loading…
Reference in New Issue
Block a user