diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-06-15 12:33:14 +0200 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-06-15 12:33:14 +0200 |
commit | a07778df40ee840a8da6d222e05e66962c902227 (patch) | |
tree | f0de809d273a7a3556ea9bebd427cc1efee08dac /src/reclaim/plugin_rest_reclaim.c | |
parent | a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408 (diff) | |
download | gnunet-a07778df40ee840a8da6d222e05e66962c902227.tar.gz gnunet-a07778df40ee840a8da6d222e05e66962c902227.zip |
- Minor fix reclaim attestation plugin
Diffstat (limited to 'src/reclaim/plugin_rest_reclaim.c')
-rw-r--r-- | src/reclaim/plugin_rest_reclaim.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/reclaim/plugin_rest_reclaim.c b/src/reclaim/plugin_rest_reclaim.c index 0800e5b20..863dd0450 100644 --- a/src/reclaim/plugin_rest_reclaim.c +++ b/src/reclaim/plugin_rest_reclaim.c | |||
@@ -508,8 +508,7 @@ add_attestation_cont (struct GNUNET_REST_RequestHandle *con_handle, | |||
508 | handle->rest_handle->data, | 508 | handle->rest_handle->data, |
509 | handle->rest_handle->data_size); | 509 | handle->rest_handle->data_size); |
510 | data_json = json_loads (term_data, JSON_DECODE_ANY, &err); | 510 | data_json = json_loads (term_data, JSON_DECODE_ANY, &err); |
511 | GNUNET_assert (GNUNET_OK == | 511 | GNUNET_JSON_parse (data_json, attrspec, NULL, NULL); |
512 | GNUNET_JSON_parse (data_json, attrspec, NULL, NULL)); | ||
513 | json_decref (data_json); | 512 | json_decref (data_json); |
514 | if (NULL == attribute) | 513 | if (NULL == attribute) |
515 | { | 514 | { |