diff options
Diffstat (limited to 'src/util/json.c')
-rw-r--r-- | src/util/json.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/json.c b/src/util/json.c index 120e1be5c..fecf0c5af 100644 --- a/src/util/json.c +++ b/src/util/json.c | |||
@@ -133,7 +133,8 @@ TALER_JSON_from_data (const void *data, size_t size) | |||
133 | { | 133 | { |
134 | char *buf; | 134 | char *buf; |
135 | json_t *json; | 135 | json_t *json; |
136 | buf = TALER_data_to_string_alloc (data, size); | 136 | |
137 | buf = GNUNET_STRINGS_data_to_string_alloc (data, size); | ||
137 | json = json_string (buf); | 138 | json = json_string (buf); |
138 | GNUNET_free (buf); | 139 | GNUNET_free (buf); |
139 | return json; | 140 | return json; |