From 76d7de765948c62652bb288464b15a448ada2239 Mon Sep 17 00:00:00 2001 From: Markus Voggenreiter Date: Wed, 9 Oct 2019 21:39:35 +0200 Subject: [PATCH] Initial Fixes of plugin --- src/reclaim-attribute/plugin_reclaim_attribute_gnuid.c | 2 +- src/reclaim/plugin_rest_reclaim.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/reclaim-attribute/plugin_reclaim_attribute_gnuid.c b/src/reclaim-attribute/plugin_reclaim_attribute_gnuid.c index e2386a045..b06f98f66 100644 --- a/src/reclaim-attribute/plugin_reclaim_attribute_gnuid.c +++ b/src/reclaim-attribute/plugin_reclaim_attribute_gnuid.c @@ -236,7 +236,7 @@ gnuid_typename_to_number_attest (void *cls, const char *gnuid_typename) * @return corresponding typestring, NULL on error */ static const char * -gnuid_number_to_typename (void *cls, uint32_t type) +gnuid_number_to_typename_attest (void *cls, uint32_t type) { unsigned int i; diff --git a/src/reclaim/plugin_rest_reclaim.c b/src/reclaim/plugin_rest_reclaim.c index 913a413af..d7cfd393a 100644 --- a/src/reclaim/plugin_rest_reclaim.c +++ b/src/reclaim/plugin_rest_reclaim.c @@ -440,7 +440,7 @@ add_attestation_cont (struct GNUNET_REST_RequestHandle *con_handle, void *cls) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Adding Attestations not supported\n"); - GNUNET_SCHEDULER_add_now (&do_error, handle); + GNUNET_SCHEDULER_add_now (&do_error, cls); return; } /*Placeholder*/ @@ -450,7 +450,7 @@ list_attestation_cont (struct GNUNET_REST_RequestHandle *con_handle, void *cls) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Listing Attestations not supported\n"); - GNUNET_SCHEDULER_add_now (&do_error, handle); + GNUNET_SCHEDULER_add_now (&do_error, cls); return; } @@ -461,7 +461,7 @@ delete_attestation_cont (struct GNUNET_REST_RequestHandle *con_handle, void *cls) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Deleting Attestations not supported\n"); - GNUNET_SCHEDULER_add_now (&do_error, handle); + GNUNET_SCHEDULER_add_now (&do_error, cls); return; } -- 2.25.1