From: Markus Voggenreiter Date: Wed, 9 Oct 2019 19:39:35 +0000 (+0200) Subject: Initial Fixes of plugin X-Git-Tag: v0.12.2~25 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f3c86065146ad989b6fdf2532147ebfc1a833935;p=oweals%2Fgnunet.git Initial Fixes of plugin --- diff --git a/src/reclaim-attribute/plugin_reclaim_attribute_gnuid.c b/src/reclaim-attribute/plugin_reclaim_attribute_gnuid.c index 37610e2fb..212425a6f 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 c58b1560b..c719f95fd 100644 --- a/src/reclaim/plugin_rest_reclaim.c +++ b/src/reclaim/plugin_rest_reclaim.c @@ -443,7 +443,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*/ @@ -453,7 +453,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; } @@ -464,7 +464,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; }